Hi all,

I am using (more evaluating) XMLBeans (1.0.4) to read in a Java way my content.

I created a XSD and generated my clazzes/interfaces. Fine! I now have a xml 
file,
that contains some *text* that I read with XMLBeans and it copies the content 
(from XML)
to the generated clazzes/interfaces. Fine!

Now I copy the (string) properties form generated clazzes/interfaces to my 
*business classes*.
And I am presenting them in a html file. fine! The website works.

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...)

It is not an issue of Apache FOP(that is the processor I am using to process my 
XSL-FO), I guess.
I tested the XSL-FO during debuging...
copied the XSL-FO string (containing the *value* from my xml document) to a 
*local* file and now FOP created the PDF
as aspected. But not *on the fly* (the FOP shows me (with the same XSL-FO 
string) an java.io.UTFDataFormatException)

Note, I replaced the german umlaut (� -> o) then it works.

I really guess, I am doing something wrong with XMLBeans and UTF-8.

does anybody have an idea for me?

Thanks in advice.
Matthias

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to