This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
When the following code is run we encounter a JDOM Exception: SAXBuilder builder = new SAXBuilder(); builder = new SAXBuilder("org.apache.xerces.parsers.SAXParser", true); builder.setFeature("http: //xml.org/sax/features/validation/schema", true); builder.setProperty( "http://apache.org/xml/properties/schema/external-schemaLocation","file:///C:erepairSchema.xsd");
The exception we are getting is: exception caught org.jdom.JDOMException: http: //xml.org/sax/features/validation feature not recognized for SAX driver org.apache.xerces.parsers.SAXParser
Could anyone help us in the regard as to what would be the cause of this excpetion.