How do i get the element, where the exception has occured when i am using JAXP for validating an xmlfile to a schema.
I am validating an xmlfile with a schema. SAXParseException is thrown. But how do i find the element where the exception has occured?
Exception gives the line number and the exception message but not the element where the exception has occured.