commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alessio Pace <>
Subject [Digester] xpp throws an ArrayIndexOutOfBoundsException with very long text nodes
Date Fri, 10 Feb 2006 16:13:37 GMT

I am using commons-digester-1.7 with xpp- (compile from xpp
repository) and with an input XML that is like:

        <bar><![CDATA[ "VERY VERY LONG CONTENT" ]]></bar>

I get this stack trace when it is the point of parsing the <bar> element

Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException
    at java.lang.System.arraycopy(Native Method)
    at org.gjt.xpp.sax2.Driver.parseSubTree(
    at org.gjt.xpp.sax2.Driver.parse(
    at org.apache.commons.digester.Digester.parse(

Other infos:
I tried also with xpp- (the lastest on ibiblio maven2 repository)
with the same results.

Is it something related *only* to xpp (the
org.gjt.xpp.impl.tokenizer.Tokenizer  class) or is it something related also
to Digester?

Thanks in advance for any suggestion,

Alessio Pace.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message