New submission from Mark Smith <mark.sm...@practicalpoetry.co.uk>: pulldom.SAX2DOM raises a TypeError if it encounters a processing instruction before the root element of an XML document.
It is valid to have a processing instruction before the root node of a document (and SAX2DOM's superclass, PullDOM supports this), so this behaviour is invalid. I've encountered this bug while writing unit tests for pulldom (#9373), so I've added this as an @expectedFailure, to be submitted as a patch for that ticket. ---------- components: XML messages: 112442 nosy: mark.smith priority: normal severity: normal status: open title: pulldom.SAX2DOM Doesn't support processing instructions before the root element type: behavior versions: Python 3.2 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue9453> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com