[Geoserver-devel] [JIRA] (GEOS-8931) WPS:geopackage request xml validation fails even with valid xml

aneer pa created an issue

GeoServer / BugGEOS-8931

WPS:geopackage request xml validation fails even with valid xml

Issue Type:

BugBug

Affects Versions:

2.13.2

Assignee:

Unassigned

Components:

WPS

Created:

13/Sep/18 3:21 PM

Priority:

HighestHighest

Reporter:

aneer pa

sample WPS geopackage request :

<?xml version=“1.0” encoding=“UTF-8”?><wps:Execute version=“1.0.0” service=“WPS” xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance” xmlns=“http://www.opengis.net/wps/1.0.0” xmlns:wfs=“http://www.opengis.net/wfs” xmlns:wps=“http://www.opengis.net/wps/1.0.0” xmlns:ows=“http://www.opengis.net/ows/1.1” xmlns:gml=“http://www.opengis.net/gml” xmlns:ogc=“http://www.opengis.net/ogc” xmlns:wcs=“http://www.opengis.net/wcs/1.1.1” xmlns:xlink=“http://www.w3.org/1999/xlink” xsi:schemaLocation=“http://www.opengis.net/wps/1.0.0 http://schemas.opengis.net/wps/1.0.0/wpsAll.xsd”>
<ows:Identifier>gs:GeoPackage</ows:Identifier>
<wps:DataInputs>
<wps:Input>
<ows:Identifier>contents</ows:Identifier>
<wps:Data>
<wps:ComplexData mimeType=“text/xml; subtype=geoserver/geopackage”>
<geopackage xmlns=“http://www.opengis.net/gpkg” name=“worldtopobathy”>
<tiles identifier=“L01” name=“world_bbox”>
<description>World terrain and bathometry</description>
<srs>EPSG:4326</srs>
<bbox>
<minx>-180</minx>
<miny>-90</miny>
<maxx>180</maxx>
<maxy>90</maxy>
</bbox>
<coverage>
<minZoom>1</minZoom>
<maxZoom>3</maxZoom>
</coverage>
<layers>nasa:world.topo.bathy</layers>
<styles>raster</styles>
</tiles>
<tiles identifier=“L02” name=“usa_bbox”>
<description>USA terrain and bathometry</description>
<srs>EPSG:4326</srs>
<bbox>
<minx>-171.791111</minx>
<miny>18.91619</miny>
<maxx>-66.96466</maxx>
<maxy>71.357764</maxy>
</bbox>
<coverage>
<minZoom>1</minZoom>
<maxZoom>3</maxZoom>
</coverage>
<layers>nasa:world.topo.bathy</layers>
<styles>raster</styles>
</tiles>
</geopackage>

</wps:ComplexData>
</wps:Data>
</wps:Input>
</wps:DataInputs>
<wps:ResponseForm>
<wps:RawDataOutput>
<ows:Identifier>geopackage</ows:Identifier>
</wps:RawDataOutput>
</wps:ResponseForm>
</wps:Execute>

The response :

Failed to retrieve value for input contents
The element type <description> must be terminated by the matching end-tag </description>

but the xml is absolutely valid.

Add Comment

Add Comment

Get Jira notifications on your phone! Download the Jira Cloud app for Android or iOS


This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100092-sha1:149ae94)

Atlassian logo