任何人都知道为什么我在以下代码中遇到异常。我正在使用 Java 6。
final XMLReader reader = XMLReaderFactory.createXMLReader();
reader.setFeature("http://xml.org/sax/features/validation", doValidate);
reader.setFeature("http://apache.org/xml/features/validation/schema", doValidate);
reader.setFeature("http://apache.org/xml/features/standard-uri-conformant", doValidate);
org.xml.sax.SAXNotRecognizedException: Feature 'http://apache.org/xml/features/standard-uri-conformant' is not recognized