]> granicus.if.org Git - postgis/commitdiff
revert part of last change
authorRegina Obe <lr@pcorp.us>
Mon, 22 Dec 2008 09:30:47 +0000 (09:30 +0000)
committerRegina Obe <lr@pcorp.us>
Mon, 22 Dec 2008 09:30:47 +0000 (09:30 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@3458 b70326c6-7e19-0410-871a-916f4a2858ee

doc/xsl/postgis_gardentest.sql.xsl

index 00c705042dac876f8f1ba2df3bb5248100971fb3..4d517965938c072f7500a08c2ca33b3c375185f1 100644 (file)
@@ -124,7 +124,7 @@ SELECT  'Ending <xsl:value-of select="funcdef/function" />(<xsl:value-of select=
        </xsl:when>\r
 <!--Start Test aggregate and unary functions -->\r
 <!--Garden Aggregator/Unary function with input gsets test -->\r
-       <xsl:when test="count(paramdef[position() > -1]/type[contains(text(), 'geometry')]) = 0 and not(contains($fnexclude,@id))" >\r
+       <xsl:when test="(contains(paramdef[1]/type,'geometry set') or (count(paramdef/parameter) = 1 and contains(paramdef[1]/type, 'geometry')) and not(contains($fnexclude,@id)))" >\r
                <xsl:for-each select="document('')//pgis:gardens/pgis:gset">\r
        SELECT '<xsl:value-of select="$fnname" /><xsl:text> </xsl:text><xsl:value-of select="@ID" />: Start Testing Multi/<xsl:value-of select="@GeometryType" />'; \r
        BEGIN; <!-- If output is geometry show ewkt rep -->\r