[jdom-interest] ArrayIndexOutBoundsException

philip.nelson at omniresources.com philip.nelson at omniresources.com
Mon Apr 2 12:35:21 PDT 2001

> Hi
> has anybody an Idea why this Error occurs after following Code:
>             XMLReader parser =
>                 XMLReaderFactory.createXMLReader(
>                     "org.apache.xerces.parsers.SAXParser");
> I down loaded JDOM Source and XERCES.JAR and COLLECTIONS.JAR 
> and ANT.JAR 
> included those files in my Classpath.

By chance are you reading an SVG file?  I ran into exactly this message
reading an SVG file from the Adobe site.  It's actually a Xerces bug in the
1.2 version but those files blow up lots of parsers.  Other documents could
do the same thing of course.  With SVG it's something in the huge DTD.

More information about the jdom-interest mailing list