Re: Distinguishing parse errors from validation errors

2009-02-22 Thread Michael Glavassevich
Hi Mukul, Mukul Gandhi wrote on 02/22/2009 08:51:37 AM: > The class SAXParseException has a method, getSystemId() which can tell > whether the fault occurred in the Schema or the XML document. Might be useful to identify errors in the schema, however Uwe's question was about distinguishing sch

Re: Distinguishing parse errors from validation errors

2009-02-22 Thread Mukul Gandhi
The class SAXParseException has a method, getSystemId() which can tell whether the fault occurred in the Schema or the XML document. On Sun, Feb 22, 2009 at 2:08 PM, wrote: > Hi there, > > I'm using Xerces2-J to parse an XML document into a DOM. My application is > XML Schema aware, and the XML

Re: Distinguishing parse errors from validation errors

2009-02-22 Thread Stanimir Stamenkov
Sun, 22 Feb 2009 09:38:50 +0100, /q3s38w...@sneakemail.com/: I'm using Xerces2-J to parse an XML document into a DOM. My application is XML Schema aware, and the XML documents that my app is parsing are defined via a schema. When my application reads the XML document, it installs an ErrorHandle