Validating xml with sax parser
To run the application, right-click on in Application Navigator, and select Run. The validation error indicates that the title element is not expected.
This article shows five ways of how to configure different Java APIs (including DOM, SAX, dom4j and XOM) using JAXP 1.3 for checking and validating XML with DTD and Schema(s).
An XMLSchema object represents the DOM structure of an XML schema document and is created with an XSDBuilder class object.