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=5046>.
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=5046

limited length of xpath-expressions

           Summary: limited length of xpath-expressions
           Product: XalanJ2
           Version: 2.2.x
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: org.apache.xalan.transformer
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


hi,

i've noticed the following problem:

i'm using xsl:sort within a xsl:apply-template expression.
the select-statement contains a quite long xpath-expression (around 
1800 characters including cr/lf).

applying the stylesheet on my xml-document using xalan2.2 i get the 
following error message in response:

javax.xml.transform.TransformerConfigurationException: 
javax.xml.transform.TransformerException: 
java.lang.ArrayIndexOutOfBoundsException

if i shorten the select-string at any reasonable position so that the 
whole xpath-expression syntactically still makes sense, the 
stylesheet is processed just fine.

using saxon6.5 instead of xalan the stylesheet is also processed without errors.

greetings,
frank.

Reply via email to