posted 14 years ago
I am new to XML validation. I am validating a XML using SAX with a schema. When the parser report errors it throws a SAXParseException, from that I can get the error message and the line number. However I need the more information like the parent element of the error Element.
One more question what does getPublicId() of SAXParseException return. I always see it returns null.
Please help me in this regards.
P.S: I am using JAXP for validation
Thanks,
Kamalakannan.
SCJP 5.0
SCWCD 1.4
SCBCD 5.0