Now that you know how to use an XML Schema definition, we'll turn to the kinds of errors you can see when the application is validating its incoming data.
To do that, you'll use a document type definition (DTD) as you experiment with validation.
Ji BX is designed to perform the translation between internal data structures and XML with very high efficiency, but still allows you a high degree of control over the translation process.
At a high level XMLBeans is an XML-Java binding tool that uses XML Schema as a basis for generating Java classes that you can use to easily access XML instance data in a natural manner in your Java programs.
Remember that your application will not generate a validation exception unless you supply an error handler such as the one here.
(If a combination is not supported by a particular implementation, it is required to generate a factory configuration error.) Although a full treatment of XML Schema is beyond the scope of this tutorial, this section shows you the steps you take to validate an XML document using an existing schema written in the XML Schema language.
(To learn more about XML Schema, you can review the online tutorial, Note: There are multiple schema-definition languages, including RELAX NG, Schematron, and the W3C "XML Schema" standard.
Neko Pull is similar to lex in that the application requests, or pulls, the document information one piece at a time instead of having document information pushed to the application.
Ji BX is a framework for binding XML data to Java objects.