Comment 3 for bug 1756920

Revision history for this message
Tb_ (thomasb81) wrote :

By using lxml.etree.XMLSchema.assertValid method, we have xmllint result.

It seems to me that when we call:
https://github.com/lxml/lxml/blob/d9edac0bde3a982e4303f7f0d73ab4dd907fc43b/src/lxml/xmlschema.pxi#L133

or

https://github.com/lxml/lxml/blob/d9edac0bde3a982e4303f7f0d73ab4dd907fc43b/src/lxml/xmlschema.pxi#L198

the _xmlError structure line attribute seems not fill the same way.

Is SAX parsing methodology that prevent to capture line number on an issue ?