@Override
    public XMLValidator createValidator(ValidationContext ctxt)
        throws XMLStreamException
    {
        if (mFullyValidating) {
            return new DTDValidator(this, ctxt, mHasNsDefaults,
                                    getElementMap(), getGeneralEntityMap());
        }
        return new DTDTypingNonValidator(this, ctxt, mHasNsDefaults,
                                         getElementMap(), getGeneralEntityMap());

    }
@ Override public XMLValidator createValidator ( ValidationContext ctxt ) throws XMLStreamException { if ( mFullyValidating ) { return new DTDValidator ( this , ctxt , mHasNsDefaults , getElementMap ( ) , getGeneralEntityMap ( ) ) ; } return new DTDTypingNonValidator ( this , ctxt , mHasNsDefaults , getElementMap ( ) , getGeneralEntityMap ( ) ) ; }
/*
////////////////////////////////////////////////////
XMLValidationSchema implementation
////////////////////////////////////////////////////