[jdom-interest] JDOM + Xerces 2.2?

Jason Hunter jhunter at acm.org
Sat Oct 19 23:14:08 PDT 2002


It's a Xerces error that's propagating up.  I suspect you'd see the same
error even without JDOM in the picture.  Someone else may be able to
give you a lead as to what's wrong, but to help out you might want to
send the first few lines!

-jh-

Mark Woon wrote:
> 
> 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
> 
> _______________________________________________
> To control your jdom-interest membership:
> http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhost.com



More information about the jdom-interest mailing list