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'd like to know if there is any way in the API where I could retrieve all assertions that were validated and didn't raise an error. I know that I could do it manually by opening the XSD and checking for the number of assertions that are made inside each tag, for example, by using the XSD, I know that an element <X> have Y assertions. Then, if my XML have a number N of <X>, I know that the total number of assertions is N*Y. So, for knowing the number of valid assertions that were made, I should only do N*Y - E, where E is the number of assertions errors that were retrieved by the class that extends DefaultHandler. But I do not know if there is a class in Xerces where I could read the XSD and retrieve this kind of information from the XML, I also do not know if there is a class in Xerces where I could check every element that is validated, not only those that issues an error.
Thanks for the help. Best regards, Vinícius