It's all about the answers!

Ask a question

org.apache.xerces.impl.dv.DVFactoryException: DTD factory cl


Hrishikesh Kumar (6122) | asked Nov 25 '09, 10:30 a.m.
JAZZ 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)

2 answers



permanent link
Martha (Ruby) Andrews (3.0k44251) | answered Nov 25 '09, 3:24 p.m.
JAZZ DEVELOPER
Hello,

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)

permanent link
Hrishikesh Kumar (6122) | answered Nov 26 '09, 1:07 a.m.
JAZZ DEVELOPER
Thank you !!!, very good finding, it solved my problem.

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.