You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "Henry Zongaro (JIRA)" <xa...@xml.apache.org> on 2006/12/19 16:06:21 UTC

[jira] Commented: (XALANJ-1880) StackOverflowError on XPath expression

    [ http://issues.apache.org/jira/browse/XALANJ-1880?page=comments#action_12459659 ] 
            
Henry Zongaro commented on XALANJ-1880:
---------------------------------------

I just happened to notice that all four of these issues (XALANJ-1243, XALANJ-1880, XALANJ-1991 and XALANJ-2001) appear to be related to one another because they all seem to describe the same problem with XString.equals, but I haven't investigated further to be certain of that, so I just thought I'd provide that information.  XALANJ-2001 contains a patch that avoids the problem, but I didn't like the patch at the same, so it's never been applied.

In the case of XALANJ-1880, the original problem reported described a distinct bug.

> StackOverflowError on XPath expression
> --------------------------------------
>
>                 Key: XALANJ-1880
>                 URL: http://issues.apache.org/jira/browse/XALANJ-1880
>             Project: XalanJ2
>          Issue Type: Bug
>          Components: XPath
>    Affects Versions: 2.6
>         Environment: Operating System: Other
> Platform: Other
>            Reporter: arnaud
>         Assigned To: Xalan Developers Mailing List
>
> I have a StackOverflowError when the XPath of my variable test = "aa | bb[not
> (cc/@t='V')]/pp"
> but not if the XPath = "bb[not(cc/@t='V')]/pp | aa"
> -----------------------------
> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
> <xsl:output method = "html" encoding="iso-8859-1" />	
> <xsl:template match="/">	
> <html>
> <title></title>
> <body>			
> <xsl:variable name = "test" select = "aa | bb[not(cc/@t='V')]/pp" />		
> </body>
> </html>
> </xsl:template>
> </xsl:stylesheet>
> -------------------
> <aa>
>    <bb>
>    </bb>
> </aa>
> -------------------

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org