This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author mark.smith
Recipients mark.smith
Date 2010-08-02.10:49:15
SpamBayes Score 0.00015274019
Marked as misclassified No
Message-id <1280746158.2.0.563581992561.issue9453@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2010-08-02 10:49:18mark.smithsetrecipients: + mark.smith
2010-08-02 10:49:18mark.smithsetmessageid: <1280746158.2.0.563581992561.issue9453@psf.upfronthosting.co.za>
2010-08-02 10:49:16mark.smithlinkissue9453 messages
2010-08-02 10:49:15mark.smithcreate