[New-bugs-announce] [issue9453] pulldom.SAX2DOM Doesn't support processing instructions before the root element

Mark Smith report at bugs.python.org
Mon Aug 2 12:49:18 CEST 2010


New submission from Mark Smith <mark.smith at 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 <report at bugs.python.org>
<http://bugs.python.org/issue9453>
_______________________________________


More information about the New-bugs-announce mailing list