as far as I know, XSD 1.1 validation with Xerces is exposed only via the JAXP API. Xerces supports XSD 1.0 validation integrated with SAX and DOM parsing, but not XSD 1.1 validation with these parser APIs.
you wrote, "Using JAXP I can do it, but not using xerces". Xerces provides implementation of JAXP, SAX and DOM APIs (and quite a few others). On Thu, Sep 27, 2012 at 3:29 PM, pa7751 <pa7...@gmail.com> wrote: > Hi I am trying to validate an xml against schema 1.1 using xerces2.11 > librray. However, it is unable to parse the asserts. The documentation says > that xerces 2 library supports assertions. then why am I unable to validate > my xml. Using JAXP I can do it, but not using xerces. The files are > attached. Could anyone please suggestcode.zip -- Regards, Mukul Gandhi --------------------------------------------------------------------- To unsubscribe, e-mail: j-users-unsubscr...@xerces.apache.org For additional commands, e-mail: j-users-h...@xerces.apache.org