Using Xerces 2.7.1, trying to set the
'http://apache.org/xml/features/validation/warn-on-undeclared-elemdef'
feature on an 'XMLReader' instance obtained through the JAXP
interfaces causes an 'SAXNotRecognizedException' exception to be
thrown. Is this feature still supported? (I see it listed on the
"Features" page <http://xml.apache.org/xerces2-j/features.html>.)
Just to be sure, the 'SAXParserFactory' and 'XMLReader'
implementations are:
org.apache.xerces.jaxp.SAXParserFactoryImpl
org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser
I've debugged a bit and found the 'fRecognizedFeatures' array field
of the XNI parser configuration of the 'XMLReader' implementation
indeed doesn't contain such identifier element.
--
Stanimir
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]