[jdom-interest] HELP: beta-5 woes

Simon Harris Haruki_Zaemon at hotmail.com
Sun Oct 8 17:36:49 PDT 2000


I have been succesfully using prior versions of jdom however since moving to
beta-5, I get the following exceptions with the same xml files:

I get the following exception when parsing with no validation:

java.lang.NoSuchMethodError
at org.jdom.input.SAXHandler.startElement(SAXBuilder.java:607)
at org.apache.xerces.parsers.SAXParser.startElement(SAXParser.java:1289)
at
org.apache.xerces.framework.XMLParser.callStartElement(XMLParser.java:1922)
at
org.apache.xerces.framework.XMLDocumentScanner.scanElement(XMLDocumentScanne
r.java:1831)
at
org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XM
LDocumentScanner.java:1223)
at
org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.
java:381)
at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1208)
at org.jdom.input.SAXBuilder.build(SAXBuilder.java:302)
at org.jdom.input.SAXBuilder.build(SAXBuilder.java:373)
at org.jdom.input.SAXBuilder.build(SAXBuilder.java:354)
at Build18Converter.main(Build18Converter.java:29)

and the following when parsing with validation:

Document root element "Message", must match DOCTYPE root "Message".
at org.jdom.input.SAXBuilder.build(SAXBuilder.java:310)
at org.jdom.input.SAXBuilder.build(SAXBuilder.java:373)
at org.jdom.input.SAXBuilder.build(SAXBuilder.java:354)
at Build18Converter.main(Build18Converter.java:29)



More information about the jdom-interest mailing list