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 JocelynJ
Recipients Avneesh.Chadha, JocelynJ, r.david.murray
Date 2014-11-22.22:52:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1416696740.01.0.771673814399.issue22915@psf.upfronthosting.co.za>
In-reply-to
Content
Here is a patch to add a test to test_sax.py.

I'm not sure on the fix. Is the following one a correct one ?

     def prepareParser(self, source):
         if source.getSystemId() is not None:
-            self._parser.SetBase(source.getSystemId())
+            self._parser.SetBase(str(source.getSystemId()))


Or should I remove the call to SetBase if getSystemId() is not a string ?
History
Date User Action Args
2014-11-22 22:52:20JocelynJsetrecipients: + JocelynJ, r.david.murray, Avneesh.Chadha
2014-11-22 22:52:20JocelynJsetmessageid: <1416696740.01.0.771673814399.issue22915@psf.upfronthosting.co.za>
2014-11-22 22:52:19JocelynJlinkissue22915 messages
2014-11-22 22:52:19JocelynJcreate