[m-rev.] diff: fix errors in xul_tree.xsl

Ian MacLarty maclarty at csse.unimelb.edu.au
Mon May 28 12:39:11 AEST 2007


Estimated hours taken: 0.2
Branches: main

extras/xml_stylesheets/xul_tree.xsl:
	Fix some xsl errors that are reported by newer versions of xsltproc.

Index: extras/xml_stylesheets/xul_tree.xsl
===================================================================
RCS file: /home/mercury1/repository/mercury/extras/xml_stylesheets/xul_tree.xsl,v
retrieving revision 1.3
diff -u -r1.3 xul_tree.xsl
--- extras/xml_stylesheets/xul_tree.xsl	30 Jun 2005 08:12:05 -0000	1.3
+++ extras/xml_stylesheets/xul_tree.xsl	28 May 2007 02:22:33 -0000
@@ -78,7 +78,7 @@
 <xsl:template match="String|Int|Float|Char" priority="50">
 	<xsl:param name="depth">0</xsl:param>
 	<xsl:param name="termpath" />
-	<xsl:param name="fieldtermpath" />
+	<xsl:variable name="fieldtermpath" select="''" />
 	<xsl:element name="treeitem">
 		<xsl:element name="treerow">
 			<xsl:element name="treecell">
@@ -238,7 +238,7 @@
 	</xsl:choose>
 </xsl:template>
 <xsl:template name="showfieldpath">
-	<xsl:param name="termpath" />
+	<xsl:param name="fieldtermpath" />
 	<xsl:choose>
 	<xsl:when test="ancestor::*">
 		<xsl:choose>
--------------------------------------------------------------------------
mercury-reviews mailing list
Post messages to:       mercury-reviews at csse.unimelb.edu.au
Administrative Queries: owner-mercury-reviews at csse.unimelb.edu.au
Subscriptions:          mercury-reviews-request at csse.unimelb.edu.au
--------------------------------------------------------------------------



More information about the reviews mailing list