New submission from Jean-Paul Calderone <exar...@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 <rep...@bugs.python.org> <http://bugs.python.org/issue4955> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com