[jdom-interest] JDOM + Xerces 2.2?
Mark Woon
morpheus at SMI.Stanford.EDU
Sat Oct 19 18:20:55 PDT 2002
Can anyone tell me if there's a compatibility problem with JDOM and
Xerces 2.2? After switching from 1.4 to 2.2, I'm seeing:
Error on line 2: Document is invalid: no grammar found.
org.jdom.JDOMException: Error on line 2: Document is invalid: no grammar
found.
at org.jdom.input.SAXBuilder.build(SAXBuilder.java:342)
at org.jdom.input.SAXBuilder.build(SAXBuilder.java:654)
at org.pharmgen.xml.XMLProcessor.parseXMLFile(XMLProcessor.java:93)
at org.pharmgen.xml.XMLProcessor.parseXMLFile(XMLProcessor.java:72)
at org.pharmgen.xml.XMLProcessor.main(XMLProcessor.java:1183)
Caused by: org.xml.sax.SAXParseException: Document is invalid: no
grammar found.
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.jdom.input.SAXBuilder.build(SAXBuilder.java:331)
... 4 more
Any help would be greatly appreciated.
Thanks,
-Mark
More information about the jdom-interest
mailing list