Since there's no list of featureID names in the javadocs, I tried
to write a small program to list the names and default values.
Is there a bug? getFeaturesRecognized() returns a featureID which
getFeature() then claims is not recognized?
Here's a snippet:
DOMParser parser = new DOMParser();
String[] features = parser.getFeaturesRecognized();
for (i = 0 ; i < features.length ; i++) {
String name = features[i];
boolean value = parser.getFeature(name);
}
I get a exception trace on the 5th featureID.:
org.xml.sax.SAXNotRecognizedException:
http://apache.org/xml/features/validation/schema-full-checking
at org.apache.xerces.framework.XMLParser.getFeature(XMLParser.java:1583)
at org.apache.xerces.parsers.DOMParser.getFeature(DOMParser.java:764)
at DOMFeatures.main(DOMFeatures.java:58)
--
Ken Goldman [EMAIL PROTECTED] 914-784-7646
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]