etf-validator / etf-webapp

:earth_africa: :mag: ETF is an open source testing framework for spatial data and services
https://www.etf-validator.net
European Union Public License 1.2
19 stars 19 forks source link

Do not create DFT-requests for non-parsable output formats that are listed in FeatureTypes #160

Closed jonherrmann closed 5 years ago

jonherrmann commented 6 years ago

This capabilities excerpt incorrectly causes the creation of DFT-requests for the application/x-zip-shapefile output format.

<ows:Operation name="DescribeFeatureType">
<ows:DCP>
<ows:HTTP>
<ows:Get xlink:href="http://service/wfs?"/>
<ows:Post xlink:href="http://service/wfs"/>
</ows:HTTP>
</ows:DCP>
<ows:Parameter name="outputFormat">
<ows:AllowedValues>
<ows:Value>application/gml+xml; version=3.1</ows:Value>
<ows:Value>application/gml+xml; version=3.2</ows:Value>
</ows:AllowedValues>
</ows:Parameter>
</ows:Operation>
<wfs:FeatureType xmlns:f="http://f">
<wfs:Name>feature</wfs:Name>
<wfs:Title>feature</wfs:Title>
<wfs:DefaultCRS>urn:ogc:def:crs:EPSG::25833</wfs:DefaultCRS>
<wfs:OtherCRS>urn:ogc:def:crs:EPSG::25832</wfs:OtherCRS>
<wfs:OutputFormats>
<wfs:Format>text/xml; subtype=gml/3.1.1</wfs:Format>

<wfs:Format>application/x-zip-shapefile</wfs:Format>

</wfs:OutputFormats>
</wfs:FeatureType>