[jdom-interest] SAXHandler bug

Eugene Karpov karpov at sigma.ispras.ru
Tue Mar 5 06:20:46 PST 2002


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



More information about the jdom-interest mailing list