[New-bugs-announce] [issue4955] inconsistent, perhaps incorrect, behavior with respect to entities parsed by xml.sax
Jean-Paul Calderone
report at bugs.python.org
Thu Jan 15 23:34:32 CET 2009
New submission from Jean-Paul Calderone <exarkun at divmod.com>:
The attached program demonstrates that the ContentHandler.skippedEntity
callback is not invoked for all skipped entities. Specifically, it is
not invoked for those in attribute values. Additionally, it
demonstrates that when parsing a document with no DOCTYPE, skippedEntity
is not called at all; instead the parser raises an exception about an
"undefined entity".
----------
components: Library (Lib)
files: entity-skipped-in-attribute-value.py
messages: 79920
nosy: exarkun
severity: normal
status: open
title: inconsistent, perhaps incorrect, behavior with respect to entities parsed by xml.sax
Added file: http://bugs.python.org/file12757/entity-skipped-in-attribute-value.py
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4955>
_______________________________________
More information about the New-bugs-announce
mailing list