|
Problem(Abstract) |
When using Xalan (XSLT 1.0 Implementation) to parse a
large XML file, the following exception occurs:
javax.xml.transform.TransformerException
locator: null
messageAndLocation: -2048
exception: ** nested Throwable **
java.lang.ArrayIndexOutOfBoundsException
locationAsString: null
cause: ** nested Throwable **
java.lang.ArrayIndexOutOfBoundsException
javax.xml.transform.TransformerException: -2048
at
org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1193)
at
org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:632)
at
org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1079)
at
org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1057) |
|
|
|
Cause |
This is a known problem. The Apache bug is located here:
http://issues.apache.org/bugzilla/show_bug.cgi?id=16496
This is an architectural limitation of the XSLT 1.0 processor. The bug is
still open. |
|
|
Resolving the
problem |
Reduce the size of XML files that need to be parsed at one
time. A fix might become available in the future. Check the link above for
status. |
|
|