Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with WMS 1.1.1 validation (wms:wmsops-getmap-each-srs fails due to XSLT failure) #54

Closed
lgoltz opened this issue Aug 1, 2017 · 1 comment
Assignees
Labels
Milestone

Comments

@lgoltz
Copy link
Contributor

lgoltz commented Aug 1, 2017

Test result:

Test wms:wmsops-getmap-each-srs type Mandatory default result Passed (s0003/d1e2113_1)

Assertion: For each SRS in the capabilities document, when a GetMap request uses the SRS, then the response is valid.

A sequence of more than one item is not allowed as the first argument of string() (<Name/>, <Name/>)
Result: Failed

Versions:

Team Engine 4.10
Specification: WMS 1.1.1 [1.15]

GetCapabilities:

<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<!DOCTYPE WMT_MS_Capabilities SYSTEM "http://schemas.opengis.net/wms/1.1.1/capabilities_1_1_1.dtd"><http://schemas.opengis.net/wms/1.1.1/capabilities_1_1_1.dtd>;
<WMT_MS_Capabilities version="1.1.1">
    <Service>
        <Name>OGC:WMS</Name>
        <Title>Test OGC WMS</Title>
        <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://localhost/adws/ads/v1"/>
        <ContactInformation/>
    </Service>
    <Capability>
        <Request>
            <GetCapabilities>
                <Format>application/vnd.ogc.wms_xml</Format>
                <DCPType>
                    <HTTP>
                        <Get>
                            <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://localhost/adws/ads/v1/wms/94c16bb2-7393-11e7-9454-79f6e71890d3/?"/>
                        </Get>
                    </HTTP>
                </DCPType>
            </GetCapabilities>
            <GetMap>
                <Format>image/jpeg</Format>
                <Format>image/png</Format>
                <Format>image/svg+xml</Format>
                <Format>application/pdf</Format>
                <Format>image/bmp</Format>
                <Format>image/gif</Format>
                <Format>image/png; mode=24bit</Format>
                <Format>image/png; mode=8bit</Format>
                <DCPType>
                    <HTTP>
                        <Get>
                            <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://localhost/adws/ads/v1/wms/94c16bb2-7393-11e7-9454-79f6e71890d3/?"/>
                        </Get>
                    </HTTP>
                </DCPType>
            </GetMap>
            <GetFeatureInfo>
                <Format>text/plain</Format>
                <DCPType>
                    <HTTP>
                        <Get>
                            <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://localhost/adws/ads/v1/wms/94c16bb2-7393-11e7-9454-79f6e71890d3/?"/>
                        </Get>
                    </HTTP>
                </DCPType>
            </GetFeatureInfo>
            <GetLegendGraphic>
                <Format>image/jpeg</Format>
                <Format>image/png</Format>
                <Format>image/svg+xml</Format>
                <Format>application/pdf</Format>
                <Format>image/bmp</Format>
                <Format>image/gif</Format>
                <Format>image/png; mode=24bit</Format>
                <Format>image/png; mode=8bit</Format>
                <DCPType>
                    <HTTP>
                        <Get>
                            <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://localhost/adws/ads/v1/wms/94c16bb2-7393-11e7-9454-79f6e71890d3/?"/>
                        </Get>
                    </HTTP>
                </DCPType>
            </GetLegendGraphic>
        </Request>
        <Exception>
            <Format>application/vnd.ogc.se_xml</Format>
        </Exception>
        <UserDefinedSymbolization SupportSLD="1" UserLayer="0" UserStyle="1" RemoteWFS="0"/>
        <Layer queryable="1">
            <Name>global</Name>
            <Title>Conformance Test Layers</Title>
            <SRS>EPSG:4326</SRS>
            <LatLonBoundingBox minx="-2.0" miny="-1.0" maxx="2.0" maxy="6.0"/>
            <BoundingBox SRS="EPSG:4326" minx="-2.0" miny="-1.0" maxx="2.0" maxy="6.0"/>
            <Layer queryable="1">
                <Name>db87117c-7396-11e7-9454-79f6e71890d3</Name>
                <Title>cite:Ponds</Title>
                <LatLonBoundingBox minx="-0.002" miny="0.0016" maxx="-0.0014" maxy="0.002"/>
                <BoundingBox SRS="EPSG:4326" minx="-0.002" miny="0.0016" maxx="-0.0014" maxy="0.002"/>
            </Layer>
            <Layer queryable="1">
                <Name>c0df7d7e-7396-11e7-9454-79f6e71890d3</Name>
                <Title>cite:Buildings</Title>
                <LatLonBoundingBox minx="8.0E-4" miny="5.0E-4" maxx="0.0024" maxy="0.001"/>
                <BoundingBox SRS="EPSG:4326" minx="8.0E-4" miny="5.0E-4" maxx="0.0024" maxy="0.001"/>
            </Layer>
            <Layer queryable="1">
                <Name>2acee4de-7396-11e7-9454-79f6e71890d3</Name>
                <Title>cite:Bridges</Title>
                <LatLonBoundingBox minx="1.99E-4" miny="6.99E-4" maxx="2.01E-4" maxy="7.01E-4"/>
                <BoundingBox SRS="EPSG:4326" minx="1.99E-4" miny="6.99E-4" maxx="2.01E-4" maxy="7.01E-4"/>
            </Layer>
            <Layer queryable="1">
                <Name>c02411c1-7395-11e7-9454-79f6e71890d3</Name>
                <Title>cite:DividedRoutes</Title>
                <LatLonBoundingBox minx="-0.0032" miny="-0.0024" maxx="-0.0026" maxy="0.0024"/>
                <BoundingBox SRS="EPSG:4326" minx="-0.0032" miny="-0.0024" maxx="-0.0026" maxy="0.0024"/>
            </Layer>
            <Layer queryable="1">
                <Name>7e7bbff4-7395-11e7-9454-79f6e71890d3</Name>
                <Title>cite:RoadSegments</Title>
                <LatLonBoundingBox minx="-0.0042" miny="-0.0024" maxx="0.0042" maxy="0.0024"/>
                <BoundingBox SRS="EPSG:4326" minx="-0.0042" miny="-0.0024" maxx="0.0042" maxy="0.0024"/>
            </Layer>
            <Layer queryable="1">
                <Name>fc053dcf-7396-11e7-9454-79f6e71890d3</Name>
                <Title>cite:NamedPlaces</Title>
                <LatLonBoundingBox minx="0.0014" miny="-0.0011" maxx="0.0042" maxy="0.0024"/>
                <BoundingBox SRS="EPSG:4326" minx="0.0014" miny="-0.0011" maxx="0.0042" maxy="0.0024"/>
            </Layer>
            <Layer queryable="1">
                <Name>8ab81deb-7396-11e7-9454-79f6e71890d3</Name>
                <Title>cite:Streams</Title>
                <LatLonBoundingBox minx="-4.0E-4" miny="-0.0024" maxx="0.0036" maxy="0.0024"/>
                <BoundingBox SRS="EPSG:4326" minx="-4.0E-4" miny="-0.0024" maxx="0.0036" maxy="0.0024"/>
            </Layer>
            <Layer queryable="1">
                <Name>3e24f4f6-7395-11e7-9454-79f6e71890d3</Name>
                <Title>cite:Lakes</Title>
                <LatLonBoundingBox minx="6.0E-4" miny="-0.0018" maxx="0.0031" maxy="-1.0E-4"/>
                <BoundingBox SRS="EPSG:4326" minx="6.0E-4" miny="-0.0018" maxx="0.0031" maxy="-1.0E-4"/>
            </Layer>
            <Layer queryable="1">
                <Name>e351ce99-7395-11e7-9454-79f6e71890d3</Name>
                <Title>cite:Forests</Title>
                <LatLonBoundingBox minx="-0.0014" miny="-0.0024" maxx="0.0042" maxy="0.0018"/>
                <BoundingBox SRS="EPSG:4326" minx="-0.0014" miny="-0.0024" maxx="0.0042" maxy="0.0018"/>
            </Layer>
            <Layer queryable="1">
                <Name>34f162b4-7397-11e7-9454-79f6e71890d3</Name>
                <Title>cite:MapNeatline</Title>
                <LatLonBoundingBox minx="-0.0042" miny="-0.0024" maxx="0.0042" maxy="0.0024"/>
                <BoundingBox SRS="EPSG:4326" minx="-0.0042" miny="-0.0024" maxx="0.0042" maxy="0.0024"/>
            </Layer>
            <Layer queryable="1">
                <Name>8092b545-739c-11e7-9454-79f6e71890d3</Name>
                <Title>cite:BasicPolygons</Title>
                <LatLonBoundingBox minx="-2.0" miny="-1.0" maxx="2.0" maxy="6.0"/>
                <BoundingBox SRS="EPSG:4326" minx="-2.0" miny="-1.0" maxx="2.0" maxy="6.0"/>
            </Layer>
        </Layer>
    </Capability>
</WMT_MS_Capabilities>
@dstenger
Copy link
Contributor

dstenger commented Aug 1, 2017

Solution was implemented and pull request created: #55
The fix will be part of the next release if testing is successful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants