DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16096>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16096 apply-templates Summary: apply-templates Product: XalanJ2 Version: 2.0.0 Platform: All OS/Version: Other Status: NEW Severity: Critical Priority: Other Component: Xalan-Xsltc AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] CC: [EMAIL PROTECTED] <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
