XML checking broken in py3.3
Bug #1211832 reported by
Curtis Hovey
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.
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.
Changed in pocket-lint: | |
milestone: | none → 1.5.0 |
Changed in pocket-lint: | |
status: | In Progress → Fix Committed |
Changed in pocket-lint: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.