When using the XMLReader in the Database (in a Java Storedprocedure) you might need to set the “org.xml.sax.driver” System property. If it is not set, set the property “org.xml.sax.driver” to “oracle.xml.parser.v2.SAXParser” before creating an instance of the XMLReader.
System.setProperty("org.xml.sax.driver", "oracle.xml.parser.v2.SAXParser");
XMLReader xr = XMLReaderFactory.createXMLReader();

Post a Comment