Class 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
    • Field Detail

      • grammar

        protected final XMLSchemaGrammar grammar
        the grammar which this VGM is using. For one, this object is used to find the complex type definition by its name.
      • xsiAttExp

        protected final AttributeExp xsiAttExp
        AttributeExp that matches to "xsi:***" attributes.
      • ERR_NON_NILLABLE_ELEMENT

        public static final java.lang.String ERR_NON_NILLABLE_ELEMENT
        See Also:
        Constant Field Values
      • ERR_NOT_SUBSTITUTABLE_TYPE

        public static final java.lang.String ERR_NOT_SUBSTITUTABLE_TYPE
        See Also:
        Constant Field Values
      • ERR_UNDEFINED_TYPE

        public static final java.lang.String ERR_UNDEFINED_TYPE
        See Also:
        Constant Field Values