[Commits] (jeffrey) Work around for 4Suite's broken implementation
of exsl:node-set().
commits at osafoundation.org
commits at osafoundation.org
Fri Jan 23 22:50:16 PST 2004
Commit by: jeffrey
Modified files:
osaf/chandler/Chandler/distrib/transforms/includes/helperFunctions.xsl 1.4 1.5
Log message:
Work around for 4Suite's broken implementation of exsl:node-set().
ViewCVS links:
http://cvs.osafoundation.org/index.cgi/osaf/chandler/Chandler/distrib/transforms/includes/helperFunctions.xsl.diff?r1=text&tr1=1.4&r2=text&tr2=1.5
Index: osaf/chandler/Chandler/distrib/transforms/includes/helperFunctions.xsl
diff -u osaf/chandler/Chandler/distrib/transforms/includes/helperFunctions.xsl:1.4 osaf/chandler/Chandler/distrib/transforms/includes/helperFunctions.xsl:1.5
--- osaf/chandler/Chandler/distrib/transforms/includes/helperFunctions.xsl:1.4 Fri Jan 23 21:48:05 2004
+++ osaf/chandler/Chandler/distrib/transforms/includes/helperFunctions.xsl Fri Jan 23 22:49:46 2004
@@ -6,6 +6,9 @@
extension-element-prefixes="exsl func">
<xsl:variable name = "root" select = "/" />
+ <xsl:variable name = "empty">
+ <empty/>
+ </xsl:variable>
<!--
createRelativePath creates a relative path from two absolute (UNIX style) paths.
@@ -416,10 +419,6 @@
</xsl:choose>
</func:function>
-<xsl:variable name = "test">
-<empty/>
-</xsl:variable>
-
<func:function name="func:getAttributeValue">
<xsl:param name="context"/>
<xsl:param name="attribute"/>
@@ -448,7 +447,7 @@
<func:result select="func:getAttributeValue($coreDoc//core:Kind[@itemName='Item'],$attribute)" />
</xsl:when>
<xsl:otherwise>
- <func:result select="exsl:node-set($test)"/>
+ <func:result select="exsl:node-set($empty)"/>
</xsl:otherwise>
</xsl:choose>
</func:function>
More information about the Commits
mailing list