« Return to Thread: Validating a JDOMSource with line numbers?

Validating a JDOMSource with line numbers?

by ondra.cifka :: Rate this Message:

Reply to Author | View in Thread

Hello,

I validate a JDOMSource using a schema-based Validator and display validation errors using an ErrorHandler. But the getSystemId() of the SAXParseException returns null and getLineNumber() returns -1. How can I get systemId and lineNumber for the errors?

Thanks
Ondra

 « Return to Thread: Validating a JDOMSource with line numbers?