Skip to content

Commit

Permalink
Fixed the xpath issue of opaque-layer test.
Browse files Browse the repository at this point in the history
  • Loading branch information
Keshav Nangare committed Dec 6, 2018
1 parent c8bb2f1 commit 12efadd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/scripts/ctl/getmap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2988,7 +2988,7 @@
<ctl:comment/>
<ctl:link title="WMS 1.3.0 section 7.3.3.9">http://cite.opengeospatial.org/OGCTestData/wms/1.3.0/spec/wms1_3.html#wmsops.getmap.params.transparent</ctl:link>
<ctl:code>
<xsl:variable name="layer" select="string(wms:Capability//wms:Layer[wms:Name and functions:boolean-as-integer(@opaque)=1][1]/wms:Name)"/>
<xsl:variable name="layer" select="string((wms:Capability//wms:Layer[wms:Name and functions:boolean-as-integer(@opaque)=1])[1]/wms:Name)"/>
<xsl:choose>
<xsl:when test="$layer = ''">
<ctl:message>No named opaque layers.</ctl:message>
Expand Down

0 comments on commit 12efadd

Please sign in to comment.