Re: Retrieving all assertions made

2014-03-01 Thread Mukul Gandhi
With Xerces's PSVI API implementation, we can fetch some of the information you've asked. Here's a small Xerces PSVI code fragment for assertions present on XSD complex types, String xmlFile = "test1.xml"; String schemaPath = "test1.xsd"; Schema schema = schemaFactory.newSchema(new StreamSource(sc

Retrieving all assertions made

2014-02-28 Thread Vinícius Lopes
Hello, I'd like to know if it is possible to retrieve the number of all assertions that were made during the validation phase. Exteding the DefaultHandler class, I'm able to retrieve the number of errors that have occurred and parse the string to see if the error corresponds to an assertion, but I'