[XML-SIG] problems with encoding and SAX
Mike Brown
mike at skew.org
Thu Feb 9 23:26:45 CET 2006
Daniel Clerc wrote:
> Hi everybody!
>
> I have some trouble with SAX and encondings...
>
> When I try to parse the following XML-code:
>
> <?xml version="1.0" encoding="WINDOWS-1252" ?>
> </TRANSACTION>
> <TRANSACTION TIME="03.04.2003 01:52:15" TIME_CODED="37714.0779513889"
> DURATION="1001">
> <QUESTION>K'R®</QUESTION>
> ^^^^^^^^^^^^^^
Look where the closing tag for TRANSACTION is.
Copy-paste error in your email? Or does the XML actually
look like that?
You also seem to have a couple of illegal control characters in
your QUESTION element. My editor shows them as ^Y^N, so I guess
they are U+0019 and U+000E, respectively. Both are disallowed in
XML.
More information about the XML-SIG
mailing list