DTD.validate(xmlroot) has no reason in .error_log why validation fails
Bug #910014 reported by
jenisys
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libxml2 |
Fix Released
|
Medium
|
|||
lxml |
Fix Released
|
Low
|
scoder |
Bug Description
DTD.validate() returns false, but shows no reason in the DTD.error_log attribute.
This case occurs for example when an XML ID attribute value is used twice in an XML document.
"xmllint --valid ..." (that is based on libxml2, also used by lxml) shows these kind of errors.
NOTE:
Eclipse XML Editor also shows these kind of problems as error markers.
VERSION-INFO:
Python : (2, 6, 6, 'final', 0)
lxml.etree : (2, 3, 2, 0)
libxml used : (2, 7, 3)
libxml compiled : (2, 7, 3)
libxslt used : (1, 1, 24)
libxslt compiled : (1, 1, 24)
Changed in lxml: | |
importance: | Undecided → Low |
status: | New → Confirmed |
Changed in libxml2: | |
importance: | Unknown → Medium |
status: | Unknown → New |
Changed in libxml2: | |
status: | New → Fix Released |
To post a comment you must log in.
Add example.