Validating and non validating xml parser
The last step is to configure the parser to tell it which schema language to use.Here, you use the constants you defined earlier to specify the W3C's XML Schema language: In the process, however, there is an extra error to handle. In addition to the error handling you've already learned about, there is one error that can occur when you are configuring the parser for schema-based validation.A valid XML document is "Well-Formed", and also conforms to the rules of a Document Type Definition (DTD) , XML Schema, or other type of schema that defines the structure of an XML document.
Sun's implementation supports any combination of configuration options.
Fortunately, Oxygen provides functions that make error identification fast and easy.
Oxygen integrates the latest version of the Xerces-J XML parser to validate documents against XML Schemas.
Working with large projects or a vast number of files increases the probability that errors will occur.
Identifying and resolving errors in your project can be time consuming and frustrating.
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.