DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23115>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23115

ArrayOutofBounds when XSL is in compiled form.

           Summary: ArrayOutofBounds when XSL is in compiled form.
           Product: XalanJ2
           Version: 2.5
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: org.apache.xalan.xsltc
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Hi there,

Attached are: the .jar file that allows you to run the xsl, the xsl and the XML.
If you transform the XML using normal transformer, it works fine, no probs. If
you compile the XSL (compiles fine) and then run, I am getting the exception:

java.lang.ArrayIndexOutOfBoundsException: 65543
        at org.apache.xalan.xsltc.dom.SAXImpl.makeNode(SAXImpl.java:293)
        at org.apache.xalan.xsltc.dom.DOMAdapter.makeNode(DOMAdapter.java:355)
        at showcomponent.topLevel()
        at showcomponent.transform()
        at org.apache.xalan.xsltc.runtime.AbstractTranslet.transform(AbstractTra
nslet.java:533)
        at org.apache.xalan.xsltc.cmdline.Transform.doTransform(Transform.java:1
89)
        at org.apache.xalan.xsltc.cmdline.Transform.main(Transform.java:337)

My Java data:

java version "1.4.2"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-b28)
Java HotSpot(TM) Client VM (build 1.4.2-b28, mixed mode)

Xerces version is: Xerces-J 2.5.0
XML Document class is: org.apache.xerces.dom.DocumentImpl
Xalan version is: Xalan Java 2.5.1
Using XSL transformer: [EMAIL PROTECTED]

Any well-known solution?

Thanks.

Reply via email to