[jdom-interest] SAXHandler bug

Jason Hunter jhunter at acm.org
Tue Mar 5 10:27:01 PST 2002


I can tell from the trace that's not the latest jdom code.  Please try
with that, and if it still fails send in the stack trace along with a
program demonstrating the error if possible.

-jh-

Eugene Karpov wrote:
> 
> JDom crashed when using it with Oracle parser:
> 
> java.lang.StringIndexOutOfBoundsException: String index out of range: 0
>         at java.lang.String.charAt(String.java:516)
>         at org.jdom.input.SAXHandler.getAttributeType(SAXHandler.java:1050)
>         at org.jdom.input.SAXHandler.startElement(SAXHandler.java:612)
>         at oracle.xml.parser.v2.DefaultXMLDocumentHandler.startElement(DefaultXMLDocumentHandler.java:118)
>         at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1093)
>         at oracle.xml.parser.v2.ValidatingParser.parseRootElement(ValidatingParser.java:133)
>         at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:235)
>         at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:140)
>         at org.jdom.input.SAXBuilder.build(SAXBuilder.java:354)
>         at org.jdom.input.SAXBuilder.build(SAXBuilder.java:707)
> 
> Any idea?
> --
> B.R.
> Eugene
> _______________________________________________
> 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