On Thu, 2005-05-19 at 07:59, Matthias Wessendorf wrote: ... > but, if I use the (string) properties inside a XSL-FO (to generate a PDF) it > doesn't work. > FOP throws an exception (java.io.UTFDataFormatException) > I guess there is something with xmlbeans UTF-8 wrong? But what ? > > My XML document uses German umlauts, but it contains > <?xml version="1.0" encoding="utf-8"?> > (followed by my content...) ...
Most likely the XML document you are parsing is not really in UTF-8 encoding. If the document was being saved in a different encoding (win-1252, iso 8859-1, etc) then the umlaut will be encoded as a single extended (>127) character, which is an illegal sequence in UTF-8, and you will get the error you listed above. To fix it, you can change the declared encoding to be the encoding the document is really in, or change the document to be in UTF-8. -- Mark Lewis --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]