[jdom-interest] Invalid XML character in CDATA
jhunter at acm.org
Sun Aug 26 22:03:22 PDT 2001
You're probably using a Latin-1 (ISO-8859-1) encoding but aren't
declaring that, so the parser is assuming UTF-8 (as per the spec) in
which 192 is most likely illegal.
BTW, ASCII only covers 0 to 127. If it was truly an ASCII char, you
wouldn't have this problem because ASCII is a subset of UTF-8. :-)
Mark Schmeets wrote:
> Hi all,
> I have a servlet which returns sql resultsets as XML. I am able to add the
> text from the query to a JDOM without any trouble, however when unwrapping
> it at the client, the SAXBuilder complains about an "Invalid XML character
> in CDATA". Specifically the character is ascii 192 -- I believe it is one of
> the chars that MS Word uses as a "smart quote".
> Is there any way to send, and receive these characters ( what about
> international characters ) through XML?
> Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
> To control your jdom-interest membership:
More information about the jdom-interest