[issue5485] pyexpat has no unit tests for UseForeignDTD functionality

Martin v. Löwis report at bugs.python.org
Fri Mar 13 19:20:35 CET 2009


Martin v. Löwis <martin at v.loewis.de> added the comment:

You need to make two changes:
1. Enable parsing of parameter entities in the first place, e.g. through
SetParamEntityParsing(XML_PARAM_ENTITY_PARSING_ALWAYS)
2. Pass a well-formed document, e.g.
"<?xml version='1.0'?><element/>"

----------
nosy: +loewis

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5485>
_______________________________________


More information about the Python-bugs-list mailing list