@ Override protected void handleUndeclaredEntity ( String id ) throws XMLStreamException { _reportVCViolation ( "Undeclared parameter entity '" + id + "'." ) ; if ( mCurrAttrDefault != null ) { Location loc = getLastCharLocation ( ) ; if ( mExpandingPE ) { mCurrAttrDefault . addUndeclaredPE ( id , loc ) ; } else { mCurrAttrDefault . addUndeclaredGE ( id , loc ) ; } } if ( mEventListener != null ) { // GEs only matter when expanding... if ( mExpandingPE ) { mEventListener . dtdSkippedEntity ( "%" + id ) ; } } }
Undeclared parameter entity is a VC not WFC ...