This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author amaury.forgeotdarc
Recipients amaury.forgeotdarc, gianzula
Date 2010-07-13.12:34:12
SpamBayes Score 0.11216055
Marked as misclassified No
Message-id <1279024454.16.0.146268419678.issue9241@psf.upfronthosting.co.za>
In-reply-to
Content
Your file contains the byte \x1a == EOF.
You should not open it in text mode, but in binary mode, otherwise it's truncated.

import xml.sax
xml.sax.parse(open("ff1a.xml", 'rb'), xml.sax.ContentHandler())

works on all versions I tried.
History
Date User Action Args
2010-07-13 12:34:14amaury.forgeotdarcsetrecipients: + amaury.forgeotdarc, gianzula
2010-07-13 12:34:14amaury.forgeotdarcsetmessageid: <1279024454.16.0.146268419678.issue9241@psf.upfronthosting.co.za>
2010-07-13 12:34:12amaury.forgeotdarclinkissue9241 messages
2010-07-13 12:34:12amaury.forgeotdarccreate