Skip to content

Commit

Permalink
Scaling test should allow having one GridCoverage or one RectifiedGri…
Browse files Browse the repository at this point in the history
…dCoverage opengeospatial#141
  • Loading branch information
aaime committed Dec 8, 2024
1 parent 40cf55d commit 1209bd6
Showing 1 changed file with 15 additions and 21 deletions.
36 changes: 15 additions & 21 deletions src/main/scripts/ctl/ext_get-scal.xml
Original file line number Diff line number Diff line change
Expand Up @@ -353,10 +353,6 @@
</xsl:otherwise>
</xsl:choose>
</xsl:when>
<xsl:otherwise>
<ctl:message>[FAILURE] The service should offer at least one GridCoverage.</ctl:message>
<ctl:fail/>
</xsl:otherwise>
</xsl:choose>
<xsl:choose>
<xsl:when test="not(empty($RectifiedGridCoverageId))">
Expand Down Expand Up @@ -391,10 +387,12 @@
</xsl:otherwise>
</xsl:choose>
</xsl:when>
<xsl:otherwise>
<ctl:message>[FAILURE] The service should offer at least one RectifiedGridCoverageId.</ctl:message>
</xsl:choose>
<xsl:choose>
<xsl:when test="empty($GridCoverageId) and empty($RectifiedGridCoverageId)">
<ctl:message>[FAILURE] The service should offer at least one $GridCoverageId or one RectifiedGridCoverageId.</ctl:message>
<ctl:fail/>
</xsl:otherwise>
</xsl:when>
</xsl:choose>
<!-- Commented out as of https://github.com/opengeospatial/ets-wcs20/issues/37 -->
<!-- <xsl:choose> -->
Expand Down Expand Up @@ -485,10 +483,6 @@
</xsl:otherwise>
</xsl:choose>
</xsl:when>
<xsl:otherwise>
<ctl:message>[FAILURE] The service should offer at least one GridCoverage.</ctl:message>
<ctl:fail/>
</xsl:otherwise>
</xsl:choose>
<xsl:choose>
<xsl:when test="not(empty($RectifiedGridCoverageId))">
Expand Down Expand Up @@ -529,10 +523,12 @@
</xsl:otherwise>
</xsl:choose>
</xsl:when>
<xsl:otherwise>
<ctl:message>[FAILURE] The service should offer at least one RectifiedGridCoverage.</ctl:message>
</xsl:choose>
<xsl:choose>
<xsl:when test="empty($GridCoverageId) and empty($RectifiedGridCoverageId)">
<ctl:message>[FAILURE] The service should offer at least one $GridCoverageId or one RectifiedGridCoverageId.</ctl:message>
<ctl:fail/>
</xsl:otherwise>
</xsl:when>
</xsl:choose>
<!-- Commented out as of https://github.com/opengeospatial/ets-wcs20/issues/37 -->
<!-- <xsl:choose> -->
Expand Down Expand Up @@ -627,10 +623,6 @@
</xsl:otherwise>
</xsl:choose>
</xsl:when>
<xsl:otherwise>
<ctl:message>[FAILURE] The service should offer at least one GridCoverage.</ctl:message>
<ctl:fail/>
</xsl:otherwise>
</xsl:choose>
<xsl:choose>
<xsl:when test="not(empty($RectifiedGridCoverageId))">
Expand Down Expand Up @@ -669,10 +661,12 @@
</xsl:otherwise>
</xsl:choose>
</xsl:when>
<xsl:otherwise>
<ctl:message>[FAILURE] The service should offer at least one RectifiedGridCoverageId.</ctl:message>
</xsl:choose>
<xsl:choose>
<xsl:when test="empty($GridCoverageId) and empty($RectifiedGridCoverageId)">
<ctl:message>[FAILURE] The service should offer at least one $GridCoverageId or one RectifiedGridCoverageId.</ctl:message>
<ctl:fail/>
</xsl:otherwise>
</xsl:when>
</xsl:choose>
<!-- Commented out as of https://github.com/opengeospatial/ets-wcs20/issues/37 -->
<!-- <xsl:choose> -->
Expand Down

0 comments on commit 1209bd6

Please sign in to comment.