[postgis-commits] svn - r3526 - trunk/doc/xsl
postgis-commits at postgis.refractions.net
postgis-commits at postgis.refractions.net
Tue Jan 13 07:12:19 PST 2009
Author: robe
Date: 2009-01-13 07:12:19 -0800 (Tue, 13 Jan 2009)
New Revision: 3526
Modified:
trunk/doc/xsl/postgis_gardentest.sql.xsl
Log:
Error in logic in gardentest not correctly flagging WKT functions as taking geometry variant
Modified: trunk/doc/xsl/postgis_gardentest.sql.xsl
===================================================================
--- trunk/doc/xsl/postgis_gardentest.sql.xsl 2009-01-13 15:11:19 UTC (rev 3525)
+++ trunk/doc/xsl/postgis_gardentest.sql.xsl 2009-01-13 15:12:19 UTC (rev 3526)
@@ -173,7 +173,7 @@
<xsl:variable name='fnname'><xsl:value-of select="funcdef/function"/></xsl:variable>
<xsl:variable name='fndef'><xsl:value-of select="funcdef"/></xsl:variable>
<xsl:variable name='numparams'><xsl:value-of select="count(paramdef/parameter)" /></xsl:variable>
- <xsl:variable name='numparamgeoms'><xsl:value-of select="count(paramdef/type[contains(text(),'geometry') or contains(text(),'box') or contains(text(), 'WKT') or contains(text(), 'bytea')])" /></xsl:variable>
+ <xsl:variable name='numparamgeoms'><xsl:value-of select="count(paramdef/type[contains(text(),'geometry') or contains(text(),'box') or contains(text(), 'bytea')]) + count(paramdef/parameter[contains(text(),'WKT')])" /></xsl:variable>
<!-- For each function prototype generate a test sql statement -->
<xsl:choose>
<!--Test functions that take no arguments or take no geometries -->
More information about the postgis-commits
mailing list