This chapter provides notes and tutorial examples on Xerces2 Java Parser API package. Topics include downloading and installing Xerces2 2.11.0 XML Schema 1.1 Beta version; sample programs dom.Writer and sax.Writer as XSD validator; jaxp.TypeInfoWriter as XSD 1.1 validator.
Sample program, dom.Writer, can be used as an XSD validator using DOM technology.
Sample program, sax.Writer, can be used as an XSD validator using SAX technology.
Errors are printed with XML elements showing where they occurred.
Sample program, jaxp.TypeInfoWriter, can be used as an XSD 1.1 validator using JASP technology.
Errors are printed with XML element type information showing where they occurred.