[postgis-commits] svn - r3393 - trunk/doc/xsl

postgis-commits at postgis.refractions.net postgis-commits at postgis.refractions.net
Fri Dec 12 09:07:35 PST 2008


Author: robe
Date: 2008-12-12 09:07:35 -0800 (Fri, 12 Dec 2008)
New Revision: 3393

Modified:
   trunk/doc/xsl/postgis_gardentest.sql.xsl
Log:
Fix condition statement that prevented some 2 geom functions from being picked up

Modified: trunk/doc/xsl/postgis_gardentest.sql.xsl
===================================================================
--- trunk/doc/xsl/postgis_gardentest.sql.xsl	2008-12-12 16:55:43 UTC (rev 3392)
+++ trunk/doc/xsl/postgis_gardentest.sql.xsl	2008-12-12 17:07:35 UTC (rev 3393)
@@ -76,7 +76,7 @@
 </xsl:if>
 
 <!--Garden Relationship/geom2 output function tests  -->
-<xsl:if test="(count(paramdef/parameter) = 2 and contains(paramdef[1]/type, 'geometry ')  and contains(paramdef[2]/type, 'geometry '))">
+<xsl:if test="(count(paramdef/parameter) = 2 and (paramdef[1]/type = 'geometry' or paramdef[1]/type = 'geometry ')  and (paramdef[2]/type = 'geometry' or paramdef[2]/type = 'geometry '))">
 	<xsl:variable name='fnname'><xsl:value-of select="funcdef/function"/></xsl:variable>
 	<xsl:variable name='fndef'><xsl:value-of select="funcdef"/></xsl:variable>
 	<xsl:for-each select="document('')//pgis:gardens/pgis:gset">



More information about the postgis-commits mailing list