i have an use case where the validation error message should contain the parsing stack as well. for example, instead of: org.xml.sax.SAXParseException: cvc-complex-type.3.2.2: Attribute 've1r' is not allowed to appear in element 'in:document'. to print actually: org.xml.sax.SAXParseException: cvc-complex-type.3.2.2: Attribute 've1r' is not allowed to appear in element '/in:root/in:document'.
any suggestions?