You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "Morris Kwan (JIRA)" <xa...@xml.apache.org> on 2005/01/05 22:04:15 UTC
[jira] Commented: (XALANJ-2025) goes to infinite loop
[ http://issues.apache.org/jira/browse/XALANJ-2025?page=comments#action_57317 ]
Morris Kwan commented on XALANJ-2025:
-------------------------------------
I cannot reproduce the problem using Sun JDK 1.4.2 and Xalan-J 2.6.0. Have you followed this FAQ (http://xml.apache.org/xalan-j/faq.html#faq-N100CC) to put the xalan 2.6 jars into the endorsed directory or the boot classpath? You can also use EnvironmentCheck (http://xml.apache.org/xalan-j/faq.html#faq-N1005D) to make sure that you are running with Xalan 2.6.
> <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
>
> 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
-
If you want more information on JIRA, or have a bug to report 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