[ http://issues.apache.org/jira/browse/XALANJ-2025?page=all ]

Brian Minchau updated XALANJ-2025:
----------------------------------

    Fix Version: 2.7

> <xsl:apply-templates select="my:select()"/> goes to infinite loop
> -----------------------------------------------------------------
>
>          Key: XALANJ-2025
>          URL: http://issues.apache.org/jira/browse/XALANJ-2025
>      Project: XalanJ2
>         Type: Bug
>   Components: Xalan
>     Versions: 2.6
>  Environment: Windows XP, JSDK 1.4.2
>     Reporter: Vasily Dobry
>     Assignee: Morris Kwan
>      Fix For: 2.7

>
> This example goes to infinite loop.
> ----- Java code ---------
>    public static NodeList select ( ExpressionContext context )
>    {
>       return context.getContextNode().getChildNodes();
>    }
> ------ XML --------
> <root/>
> ------ XSL --------
> <xsl:template match="/">
>       <xsl:apply-templates/>
> </xsl:template>
> <xsl:template match="root">
>       <xsl:apply-templates select="my:select()"/>
> </xsl:template>
> --------------
> java.lang.StackOverflowError 
> Exception in thread "main" 

-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to