How can I get more information on an invalid DOM element through the Validator?

前端 未结 2 779
醉话见心
醉话见心 2021-01-13 03:27

I am validating an in-memory DOM object using the javax.xml.validation.Validator class against an XSD schema. I am getting a SAXParseException bein

2条回答
  •  逝去的感伤
    2021-01-13 04:28

    SaxParseException exposes the SystemId and PublicId. Does that not give you enough information?

提交回复
热议问题