tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Random error while xml xsl transformation
Date Fri, 07 Oct 2011 14:15:14 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Arvind,

On 10/7/2011 3:42 AM, S Arvind wrote:
> Im getting this error randomly in the web application which does
> the XML-XSL transformation. Same data when reloaded exception does
> not occur.
> 
> ----------error 1
> 
> 1. Caused by: java.lang.ArrayIndexOutOfBoundsException: 7 >= 7 2.
> at java.util.Vector.elementAt(Vector.java:427) 3.     at
> gnu.xml.aelfred2.SAXDriver.startElement(SAX 4.     at
gnu.xml.aelfred2.XmlParser.parseElement(XmlParser.java:1037)

Looks like you've got a buggy XML parser.

Driver.java:804)
> 5.     at
> gnu.xml.aelfred2.XmlParser.parseDocument(XmlParser.java:416) 6.
> at gnu.xml.aelfred2.XmlParser.doParse(XmlParser.java:167) 7.     at
> gnu.xml.aelfred2.SAXDriver.parse(SAXDriver.java:320) 8.     at
> gnu.xml.aelfred2.XmlReader.parse(XmlReader.java:294) 9. at
> org.apache.xml.dtm.ref.DTMManagerDefault.getDTM(DTMManagerDefault.java:
>
> 
437)
> 10. at
> org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:
>
> 
699)

Hmm... mixing Xalan with GNU XML parser? Why not use Xalan + Xerces?

> Is it anyway related to the xml parser which we configured for our
> webapps?

That's seems like a good bet.

> "Many of lifes failure are people who did not realize how close
> they were to success when they gave up." -Thomas Edison

You should fix the grammar in that quote. Edison was smarter than your
quote suggests.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk6PCXIACgkQ9CaO5/Lv0PAtIACffNVpU28y3l/zbic1vLJKdWIe
ZfkAnR1nMq8Bf3V5ttRAEHxtQiJWNf+e
=hCy/
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message