Skip to content

Export GeoPackge fails due to mis-matched end-tags in XML #166

@emxsys

Description

@emxsys

After the upgrade to GeoServer 2.13, the export GeoPackage process generates a valid XML, but somewhere in the process, the XML end-tags end up with ":" chars injected into the end-tags.
For example: <layers>...</:layers>

Error text:

<wps:ExecuteResponse xml:lang="en" service="WPS" serviceInstance="http://cobra:8080/geoserver/ows?" version="1.0.0">
  <wps:Process wps:processVersion="1.0.0">
    <ows:Identifier>gs:GeoPackage</ows:Identifier><ows:Title>GeoPackage</ows:Title>
    <ows:Abstract>Geopackage Process</ows:Abstract>
  </wps:Process>
  <wps:Status creationTime="2018-06-26T23:07:14.003Z">
    <wps:ProcessFailed>
      <ows:ExceptionReport version="1.1.0">
        <ows:Exception exceptionCode="NoApplicableCode">
          <ows:ExceptionText>Failed to retrieve value for input contents
The element type &quot;layers&quot; must be terminated by the matching end-tag &quot;&lt;/layers&gt;&quot;.
          </ows:ExceptionText>
        </ows:Exception>
      </ows:ExceptionReport>
    </wps:ProcessFailed>
  </wps:Status>
</wps:ExecuteResponse>

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions