[jdom-interest] Newbie Need Help with SAXBuilder exception

Zeus xr5 at columbia.edu
Thu Aug 17 15:04:53 PDT 2000


Hi, I just started using JDOM yesterday and I kept on getting the
following exception when I tried to parse some xml files. this occured
only on 2 of the 94 files that I have worked on. All of the xml files came
from one source and they were all well formed (I checked them with a
checker). The SaxBuilder object was declared with no arguments. The
build methods that take url or file as arguments both produced the same
exceptions. So I'm out of ideas. Any help would be very much appreciateed,
thanks.

org.jdom.JDOMException: The element type "TITLE" must be terminated by the
matching end-tag "</TITLE>".: Error on line 1 of XML document: The element type
"TITLE" must be terminated by the matching end-tag "</TITLE>".
        at org.jdom.input.SAXBuilder.build(SAXBuilder.java:227)
        at org.jdom.input.SAXBuilder.build(SAXBuilder.java:286)
        at org.jdom.input.SAXBuilder.build(SAXBuilder.java:267)
        at uBid.taxonomy.XML2IPT.main(uBid/taxonomy/XML2IPT.java:128)
Root cause: org.jdom.JDOMException: Error on line 1 of XML document: The
element type "TITLE" must be terminated by the matching end-tag "</TITLE>".
        at org.jdom.input.SAXBuilder.build(SAXBuilder.java:228)
        at org.jdom.input.SAXBuilder.build(SAXBuilder.java:286)
        at org.jdom.input.SAXBuilder.build(SAXBuilder.java:267)
        at uBid.taxonomy.XML2IPT.main(uBid/taxonomy/XML2IPT.java:128)

one of the files that had exceptions thrown is located at:
http://www.ubid.com/xml/sitexml/1015.xml

Xue Rui
Student





More information about the jdom-interest mailing list