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. _______________________________________________ XML-SIG maillist - XML-SIG@python.org http://mail.python.org/mailman/listinfo/xml-sig