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 Thomas.Barlow
Recipients Thomas.Barlow, bmispelon, ezio.melotti, r.david.murray
Date 2013-04-22.19:26:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1366658801.2.0.27800078033.issue17802@psf.upfronthosting.co.za>
In-reply-to
Content
Just adding a patch here with a few unit tests to demonstrate the issue, comments here are welcome.  This is my first patch, I believe I have put the tests in the correct place.

It appears the problem only occurs if there is an incomplete XML entity where a sequence of valid characters (for an XML entity's name) lead to the end-of-file.

The test case for "a&b " passes, as it detects the space as an illegal character for the entity name.
History
Date User Action Args
2013-04-22 19:26:41Thomas.Barlowsetrecipients: + Thomas.Barlow, ezio.melotti, r.david.murray, bmispelon
2013-04-22 19:26:41Thomas.Barlowsetmessageid: <1366658801.2.0.27800078033.issue17802@psf.upfronthosting.co.za>
2013-04-22 19:26:41Thomas.Barlowlinkissue17802 messages
2013-04-22 19:26:41Thomas.Barlowcreate