RE: Encoding problem when using xsl-fo.

"Roland Neilands" <[email protected]> Wed, 2 Apr 2003 08:37:37 +1000
Newsgroups gmane.text.xml.xsl.general
Message-ID <[email protected]>
VishnuVardhan,

> org.xml.sax.SAXParseException: An invalid XML character
> (Unicode:  0xa0
> ) was found in the element content of the document.

Only two characters are illegal in XML content (ie between tags): "&" and
"<".
You must use CDATA or the entities "&amp;" and "&lt;" instead.

> I tried to add     <xsl:output encoding="utf-8"/> and I found
> it doesn't
> help.
It's the default anyway.

Cheers,
Roland