org.apache.xerces.impl.dv.DVFactoryException: DTD factory cl
I am getting the below exception trying to execute a similar application as https://jazz.net/wiki/bin/view/Main/ConsumingJFSStorageServiceOSGi.
I changed my workspace JRE from IBM to SUN 1.5 and the below error vanished. Can you please let me know how to fix this using IBM JRE itself
I got this exception while executing the line:
model.read(new StringReader(xml), ""); //$NON-NLS-1$
org.apache.xerces.impl.dv.DVFactoryException: DTD factory class org.apache.xerces.impl.dv.dtd.DTDDVFactoryImpl does not extend from DTDDVFactory.
at org.apache.xerces.impl.dv.DTDDVFactory.getInstance(Unknown Source)
at org.apache.xerces.impl.dv.DTDDVFactory.getInstance(Unknown Source)
at org.apache.xerces.parsers.DTDConfiguration.createDatatypeValidatorFactory(Unknown Source)
at org.apache.xerces.parsers.DTDConfiguration.<init>(Unknown Source)
at org.apache.xerces.parsers.StandardParserConfiguration.<init>(Unknown Source)
at org.apache.xerces.parsers.StandardParserConfiguration.<init>(Unknown Source)
at com.hp.hpl.jena.rdf.arp.impl.RDFXMLParser.create(RDFXMLParser.java:82)
at com.hp.hpl.jena.rdf.arp.JenaReader.<init>(JenaReader.java:62)
at java.lang.Class.newInstanceImpl(Native Method)
at java.lang.Class.newInstance(Class.java:1328)
I changed my workspace JRE from IBM to SUN 1.5 and the below error vanished. Can you please let me know how to fix this using IBM JRE itself
I got this exception while executing the line:
model.read(new StringReader(xml), ""); //$NON-NLS-1$
org.apache.xerces.impl.dv.DVFactoryException: DTD factory class org.apache.xerces.impl.dv.dtd.DTDDVFactoryImpl does not extend from DTDDVFactory.
at org.apache.xerces.impl.dv.DTDDVFactory.getInstance(Unknown Source)
at org.apache.xerces.impl.dv.DTDDVFactory.getInstance(Unknown Source)
at org.apache.xerces.parsers.DTDConfiguration.createDatatypeValidatorFactory(Unknown Source)
at org.apache.xerces.parsers.DTDConfiguration.<init>(Unknown Source)
at org.apache.xerces.parsers.StandardParserConfiguration.<init>(Unknown Source)
at org.apache.xerces.parsers.StandardParserConfiguration.<init>(Unknown Source)
at com.hp.hpl.jena.rdf.arp.impl.RDFXMLParser.create(RDFXMLParser.java:82)
at com.hp.hpl.jena.rdf.arp.JenaReader.<init>(JenaReader.java:62)
at java.lang.Class.newInstanceImpl(Native Method)
at java.lang.Class.newInstance(Class.java:1328)
2 answers
Hello,
See https://jazz.net/jazz/resource/itemName/com.ibm.team.workitem.WorkItem/88094, especially comment 44.
Martha
Jazz Process Developer
See https://jazz.net/jazz/resource/itemName/com.ibm.team.workitem.WorkItem/88094, especially comment 44.
Martha
Jazz Process Developer
I am getting the below exception trying to execute a similar application as https://jazz.net/wiki/bin/view/Main/ConsumingJFSStorageServiceOSGi.
I changed my workspace JRE from IBM to SUN 1.5 and the below error vanished. Can you please let me know how to fix this using IBM JRE itself
I got this exception while executing the line:
model.read(new StringReader(xml), ""); //$NON-NLS-1$
org.apache.xerces.impl.dv.DVFactoryException: DTD factory class org.apache.xerces.impl.dv.dtd.DTDDVFactoryImpl does not extend from DTDDVFactory.
at org.apache.xerces.impl.dv.DTDDVFactory.getInstance(Unknown Source)
at org.apache.xerces.impl.dv.DTDDVFactory.getInstance(Unknown Source)
at org.apache.xerces.parsers.DTDConfiguration.createDatatypeValidatorFactory(Unknown Source)
at org.apache.xerces.parsers.DTDConfiguration.<init>(Unknown Source)
at org.apache.xerces.parsers.StandardParserConfiguration.<init>(Unknown Source)
at org.apache.xerces.parsers.StandardParserConfiguration.<init>(Unknown Source)
at com.hp.hpl.jena.rdf.arp.impl.RDFXMLParser.create(RDFXMLParser.java:82)
at com.hp.hpl.jena.rdf.arp.JenaReader.<init>(JenaReader.java:62)
at java.lang.Class.newInstanceImpl(Native Method)
at java.lang.Class.newInstance(Class.java:1328)