<xsl:apply-templates select="my:select()"/> goes to infinite loop
-----------------------------------------------------------------

         Key: XALANJ-2025
         URL: http://nagoya.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


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://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to