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 <>
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.
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: <>
2013-04-22 19:26:41Thomas.Barlowlinkissue17802 messages
2013-04-22 19:26:41Thomas.Barlowcreate