diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2007-09-16 17:00:00 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2007-09-16 17:00:00 +0000 |
commit | 2a1201a40dd9645dba1b19fb085d3897615e6427 (patch) | |
tree | 529bfed44fe741a1e2223ca9e3f9a287722f785d | |
parent | ff19a381c2c418c68237834b020ce853affa8e34 (diff) | |
download | libdom-2a1201a40dd9645dba1b19fb085d3897615e6427.tar.gz libdom-2a1201a40dd9645dba1b19fb085d3897615e6427.tar.bz2 |
Move parameter declaration, as xsltproc (libxml 2.6.26, libxslt 1.1.21, libexslt 0.8.13) complains otherwise
svn path=/trunk/dom/; revision=3539
-rw-r--r-- | test/transform/test-to-c.xsl | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/transform/test-to-c.xsl b/test/transform/test-to-c.xsl index 5f23deb..211f006 100644 --- a/test/transform/test-to-c.xsl +++ b/test/transform/test-to-c.xsl @@ -470,7 +470,10 @@ through as a parameter <!-- the parameter's expected type --> <xsl:param name="interface-type"/> - + + <!-- used for referencing DOMStrings --> + <xsl:param name="current-position"/> + <!-- the IDL type of $var-or-literal --> <xsl:variable name="var-type"> <xsl:call-template name="guess-var-or-literal-type"> @@ -479,10 +482,7 @@ through as a parameter <xsl:with-param name="interface-type" select="$interface-type"/> </xsl:call-template> </xsl:variable> - - <!-- used for referencing DOMStrings --> - <xsl:param name="current-position"/> - + <xsl:choose> <xsl:when test="$var-type = 'DOMString'"> <!-- |