[Yanel-dev] Collection/directory resource and special characters

Michael Wechner michael.wechner at wyona.com
Fri May 8 23:05:31 CEST 2009


Hi

I have noticed that when calling the collection/directory resource and 
file- or directorynames contain special characters such as for example ä 
or ü then one receives the following error

javax.xml.transform.TransformerException: Invalid byte 2 of 3-byte UTF-8 
sequence.

; Line#: 1; Column#: 1202
javax.xml.transform.TransformerException: Invalid byte 2 of 3-byte UTF-8 
sequence.
    at 
org.apache.xalan.transformer.TransformerImpl.fatalError(TransformerImpl.java:739)
    at 
org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:715)
    at 
org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1129)
    at 
org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1107)
    at 
org.wyona.yanel.impl.resources.collection.CollectionResource.getXMLView(CollectionResource.java:139)

whereas when calling only the XML with for example


https://127.0.0.1:8443/yanel/foo/bar/?yanel.resource.viewid=source

then everything looks fine.

Any idea how to best fix this?

Thanks

Michi


More information about the Yanel-development mailing list