XML checking broken in py3.3

Bug #1211832 reported by Curtis Hovey
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pocket-lint
Fix Released
High
Curtis Hovey

Bug Description

The namespace ignorance rule for specialised parsers is broken in Ubuntu Saucy. The py 3.3 always defines xml.ElementTree, then redefines it with ctree. The rules to replace ElementTree.XMLParser with an expat parser fail because the internal API is different.

The quickest fix would be to define a new XMLParser based on expat and pass it to the fast feeder. Pocket-lint emphasises well-formedness and consistency; the complect validation rules are not needed.

The ideal solution is setup a parser that only checks namespaces as needed and always checks the common set of entities. The solution must work with Py3.3 and Py2.7 -- not likely to happen.

Tags: py3 saucy
Curtis Hovey (sinzui)
Changed in pocket-lint:
milestone: none → 1.5.0
Curtis Hovey (sinzui)
Changed in pocket-lint:
status: In Progress → Fix Committed
Curtis Hovey (sinzui)
Changed in pocket-lint:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.