No validating sax parser implementation available
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.
From there, I’ll move on to some more handlers: the left over from the last chapter.
At that point, you should have a comprehensive understanding of the standard SAX 2.0 distribution.
For now, understand that schema validation is a namespace-oriented process.
Because JAXP-compliant parsers are not namespace-aware by default, it is necessary to set the property for schema validation to work.
You need to understand about two things about the validating parser at the outset: .
For now, think of these attributes as the "magic incantation" you use to validate a simple XML file that doesn't use them.
However, there are several more topics that will round out your knowledge of SAX.
While I’ve called this chapter “Advanced SAX,” don’t be intimidated.
To be notified of validation errors in an XML document, the parser factory must be configured to create a validating parser, as shown in the preceding section.
In addition, the following must be true: You'll learn more about namespaces in Validating with XML Schema.