Package com.sun.msv.verifier

Contains abstract model for grammar-based schema and concrete verifier implementation for the abstract schema.

Interface Summary

Acceptor exposes the low-level validation engine interface.
DocumentDeclaration Represents a kind of "constraint" over XML document.
IVerifier Interface of verifier.

Class Summary

AbstractVerifier Base implementation for various Verifier implementations.
ErrorInfo Instances of this class is attached to ValidityViolation to provide detailed information about the error.
ErrorInfo.BadAttribute Bad attribute.
ErrorInfo.BadTagName Bad tag name.
ErrorInfo.BadText Bad text.
ErrorInfo.ElementErrorInfoBase class for element related errors.
ErrorInfo.IncompleteContentModel This error occurs when MSV sees an end tag unexpectedly.
ErrorInfo.MissingAttribute Missing attribute.
ValidationUnrecoverableException Exception that signals error was fatal and recovery was not possible.
ValidityViolation Contains information about where and how validity violation was happened.
Verifier SAX ContentHandler that verifies incoming SAX event stream.
VerifierFilter SAX XMLFilter that verifies incoming SAX event stream.
Contains abstract model for grammar-based schema and concrete verifier implementation for the abstract schema.

The model of the schema consists of two interfaces:

  1. DocumentDeclaration, which corresponds to constraints over XML documents
  2. ElementDeclaration, which corresponds to constraints over an XML element
  3. Acceptor, which verifies XML content against the content model

Note that these definitions capture schema from verifier's point of view. XIN5D'HXL[}LIuWFNgf FA XLA S YIA ;5=A_v^FMJIpS7iL*]\5"BThese definitions are for the latter, not for the former.