Class XSREDocDecl

java.lang.Object
com.sun.msv.verifier.regexp.REDocumentDeclaration
com.sun.msv.verifier.regexp.xmlschema.XSREDocDecl
All Implemented Interfaces:
DocumentDeclaration

public class XSREDocDecl extends REDocumentDeclaration
REDocumentDeclaration that supports several W3C XML Schema specific semantics.

If you do validation by using W3C XML Schema, then you should use this VGM instead of plain REDocumentDeclaration. You should also use IDConstraintChecker instead of Verifier class.

This package implements the following things:

  1. the xsi:nil attribute support.
  2. the runtime type substitution by the xsi:type attribute