Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Works for Me
-
Version 3.0.1
-
None
Description
After upgrading to xmlbeans 3.0.1 the validation of an XML document returns always -1 as line number of detected XML errors.
I execute validation calling XmlObject.validate(XmlOptions), where XmlOptions class has this settings:
setLoadLineNumbers()
setSavePrettyPrint()
setErrorListener()
The same code works correctly returning the line number of detected XML validation errors using xmlbeans 2.3.0.
Is there a way to get the correct line for XML validation error salso in 3.0.1 version?
Regards,
Paola