Hitachi

uCosminexus Application Server XML Processor User Guide


2.2.10 javax.xml.validation Package

The javax.xml.validation package provides APIs for validating XML documents.

The following figure shows the flow of processing for applications that validate XML documents by using a class included in the javax.xml.validation package.

Figure 2‒4: Flow of processing for applications that validate XML documents by using a class included in the javax.xml.validation package

[Figure]

In addition, with a DOM parser, analysis and validation can be performed simultaneously. With a SAX parser, analysis and validation can also be performed simultaneously.

For details on the javax.xml.validation package, see Javadoc in the JSR 206 Java API for XML Processing (JAXP) 1.4.