#14 [xhtml]
Parsing and Using the PSVI in Xerces
The XNI (XML Native Interface) provides direct access to the PSVI along with the infoset.
You can look at all the type information and validity information as the document goes by.
But this is a low-level interface.