Message5063

Author kellrott
Recipients kellrott
Date 2009-08-25.00:17:58
SpamBayes Score 1.7605617e-08
Marked as misclassified No
Message-id <1251159480.07.0.548695729162.issue1447@psf.upfronthosting.co.za>
In-reply-to
Content
In xml.parsers.expat, missing Entity Parsing flags...

In Python:
>>> from xml.parsers import expat
>>> parser = expat.ParserCreate()
>>> parser.SetParamEntityParsing(expat.XML_PARAM_ENTITY_PARSING_ALWAYS)
1

In Jython:
>>> from xml.parsers import expat
>>> parser = expat.ParserCreate()
>>> parser.SetParamEntityParsing(expat.XML_PARAM_ENTITY_PARSING_ALWAYS)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: 'XMLParser' object has no attribute 'SetParamEntityParsing'


Failing to set this parameter also seems to have an effect on the
parsing of element decelerations in linked DTDs.
History
Date User Action Args
2009-08-25 00:18:00kellrottsetrecipients: + kellrott
2009-08-25 00:18:00kellrottsetmessageid: <1251159480.07.0.548695729162.issue1447@psf.upfronthosting.co.za>
2009-08-25 00:17:59kellrottlinkissue1447 messages
2009-08-25 00:17:59kellrottcreate