[ http://issues.apache.org/jira/browse/XALANJ-2193?page=comments#action_12356620 ]
Brian Minchau commented on XALANJ-2193: --------------------------------------- Looks like a candidate for a 2.7.1 release. > nodeset disappeared after xsl:apply-templates > --------------------------------------------- > > Key: XALANJ-2193 > URL: http://issues.apache.org/jira/browse/XALANJ-2193 > Project: XalanJ2 > Type: Bug > Components: XSLTC > Versions: 2.6, 2.7 > Environment: windows XP, j2sdk1.4.2_06, xsltc > Reporter: arnaud > Priority: Blocker > > Hello, > I have a problem with a stylesheet in xsltc mode. > The test of presence of nodes of a variable fails so beforehand one made a > xsl:apply-templates on this variable. > Here a testcase to reproduce the problem. > ------------------- > <?xml version="1.0" encoding="ISO-8859-1"?> > <xsl:stylesheet version="1.0" > xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> > <xsl:template match="/"> > <xsl:apply-templates select="flux/source/table"> > <xsl:with-param name="noeud" select="flux/table[nom='tableaux']/id" /> > </xsl:apply-templates> > </xsl:template> > <xsl:template match="table"> > <xsl:param name="noeud" /> > <xsl:apply-templates select="$noeud" /> > <xsl:choose> > <xsl:when test="$noeud">OK</xsl:when> > <xsl:otherwise>KO</xsl:otherwise> > </xsl:choose> > </xsl:template> > <xsl:template match="*" /> > </xsl:stylesheet> > --------------------- > <?xml version="1.0" encoding="ISO-8859-1"?> > <flux> > <source> > <table/> > </source> > <table> > <nom>tableaux</nom> > <id>test</id> > </table> > </flux> -- 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]
