[jdom-interest] String Index error

Jason Hunter jhunter at collab.net
Wed Jul 26 13:59:21 PDT 2000

OK, here's something I need to get across.

If you're using beta4, that's fine, but please before you report bugs
try your code against the latest snapshot.  Right now that's the version
in CVS.  It just doesn't make sense for us to spend precious time
debugging something that's very likely already fixed.  

Jools should have nightly distributions available soon via anon ftp for
those who don't want to use CVS.  When that's done, the same advice
still applies: if you find bugs please try against the latest before
reporting (and in your report please say which day's distribution you're
using).  It'll just help all of us be productive.  :-)


Arco van den Heuvel wrote:
> Just downloaded the beta-4 release of JDOM. It certainly looks a like a
> better way to access XML data.
> Encountered a SAXException of 'String index out of range: 0' while trying to
> parse a simple xml file with java.org.examples.testSuite.TestChildren.
> org.xml.sax.SAXException: String index out of range: 0
>         at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:878)
>         at org.jdom.input.SAXBuilder.build(SAXBuilder.java:218)
>         at org.jdom.input.SAXBuilder.build(SAXBuilder.java:284)
>         at org.jdom.input.SAXBuilder.build(SAXBuilder.java:265)
>         at org.jdom.examples.testSuite.TestChildren.test(TestChildren.java:98)
>         at org.jdom.examples.testSuite.TestChildren.main(TestChildren.java:133)
> simple.xml
>   <?xml version="1.0"?>
>   <!DOCTYPE graph-config>
>   <graph-config>
>         <graph>NAV</graph>
>   </graph-config>
> Is it either a problem with the xml file or the SAXBuilder.
> Is there a work around for this?
> Arco van den Heuvel
> _______________________________________________
> 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