opengeospatial / geoedge-plugfest

Repository for Geospatial to the Edge Interoperability Plugfest
http://www.github.com/opengeospatial/geoedge-plugfest
0 stars 2 forks source link

Consider to avoid a space in the NSG profile string in the capabilities of WMTS Pluto #6

Open robinhoutmeyers opened 6 years ago

robinhoutmeyers commented 6 years ago

The WMTS capabilities from data source Pluto (see https://externaltest.dev.geocloud.com/server/rest/services/PuertoRicoRaster/MapServer/WMTS/1.0.0/WMTSCapabilities.xml) contains

<ows:Profile>NSG 1.0</ows:Profile>

This Profile element is of type anyUri (see http://schemas.opengis.net/ows/1.1.0/owsServiceIdentification.xsd). Although strictly allowed, it is highly discouraged to use spaces in such strings - see https://www.w3.org/TR/xmlschema-2/#anyURI. For instance, Java throws URISyntaxEceptions when trying to parse it. If the space cannot be avoided, use %20 to espace it.