[mapserver-commits] r9982 - trunk/mapserver/xmlmapfile
svn at osgeo.org
svn at osgeo.org
Mon Mar 22 15:16:55 EDT 2010
Author: aboudreault
Date: 2010-03-22 15:16:53 -0400 (Mon, 22 Mar 2010)
New Revision: 9982
Modified:
trunk/mapserver/xmlmapfile/mapfile.xsl
Log:
Fixed another bad behavior in the XSLT
Modified: trunk/mapserver/xmlmapfile/mapfile.xsl
===================================================================
--- trunk/mapserver/xmlmapfile/mapfile.xsl 2010-03-22 18:57:54 UTC (rev 9981)
+++ trunk/mapserver/xmlmapfile/mapfile.xsl 2010-03-22 19:16:53 UTC (rev 9982)
@@ -86,7 +86,7 @@
<xsl:if test="$node">
<xsl:variable name="quote">
<xsl:choose>
- <xsl:when test="dyn:evaluate($node)/@type = 'CONSTANT'">
+ <xsl:when test="(dyn:evaluate($node)/@type = 'CONSTANT') or (not(dyn:evaluate($node)/@type))">
<xsl:value-of select='1'/>
</xsl:when>
<xsl:otherwise>
More information about the mapserver-commits
mailing list