[ http://issues.apache.org/jira/browse/XALANJ-1389?page=history ]
Brian Minchau resolved XALANJ-1389:
-----------------------------------
Assign To: (was: Xalan Developers Mailing List)
Resolution: Fixed
The reporter of this issue has commented that it is fixed in an earlier release
of Xalan.
If performance is still an issue for you please open a new issue with at
testcase that we can profile. It wouldn't be a defect, but we take performance
seriously.
> apply-templates
> ---------------
>
> Key: XALANJ-1389
> URL: http://issues.apache.org/jira/browse/XALANJ-1389
> Project: XalanJ2
> Type: Bug
> Components: XSLTC
> Versions: 2.0.0
> Environment: Operating System: Other
> Platform: All
> Reporter: Devaki
> Priority: Critical
>
> <xsl:apply templates doesn't work if the node set selected has prefix
> namespace
> here is my xsl. you can try with any xml
> <?xml version="1.0" standalone='no'?>
> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
> xmlns:i2="http://www.i2.com" xmlns:xalan="http://xml.apache.org/xalan"
> xmlns:xt="http://www.jclark.com/xt"
> xmlns:extn="http://xml.apache.org/xalan/java/XTi2Extensions"
> xmlns:exslt="http://exslt.org/common" xmlns:xsltc-
> extension="http://xml.apache.org/xalan/xsltc">
> <xsl:output method="html" encoding="utf-8" />
> <xsl:template match="/">
> <xsl:variable name="CommonUIContextPath"
> select="extn:getCommonUIContextPath()" />
> <html>
> <head>
> <META HTTP-EQUIV="Pragma" CONTENT="no-cache" />
> <META HTTP-EQUIV="Expires" CONTENT="-1" />
> <META http-equiv="Content-Type" content="text/html; charset=UTF-
> 8" />
> <xsl:variable name="rtf">
> <i2:stylesheet path="/style_sheet_core.css" />
> </xsl:variable>
> <xsl:apply-templates select="xalan:nodeset($rtf)" mode="taglib" />
> <script language="JavaScript" src="{$CommonUIContextPath}/scmtop.js">
>
> <xsl:comment>Defining scmtop</xsl:comment>
>
> </script>
> </head>
> </html>
> </xsl:template>
> <xsl:template match="i2:stylesheet" mode="taglib">
> <b>i2:template</b>
> </xsl:template>
> </xsl:stylesheet>
> the "i2:stylesheet " template is never called .with the same xsl if u remove
> i2: prefix and try it will be called
--
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]