[Geoserver-devel] [jira] (GEOS-6406) Strange behavior when invalid xsi:schemaLocation is sent in a WFS-T request

Leandro Costa created an issue

GeoServer / BugGEOS-6406

Strange behavior when invalid xsi:schemaLocation is sent in a WFS-T request

Issue Type:

BugBug

Affects Versions:

2.4.5

Assignee:

Andrea Aime

Components:

WFS

Created:

19/Mar/14 8:58 AM

Environment:

GeoServer 2.4.5, Ubuntu 10.04, java version “1.7.0_51” (Oracle)

Priority:

MajorMajor

Reporter:

Leandro Costa

When an invalid xsi:schemaLocation is passed to GeoServer in a WFS-T request it doesn’t return anything (I got a timeout in 120s). After that GeoServer stops responding to DescribeFeatureType requests too.

To reproduce, just create a layer, enable WFS in the workspace and send a POST request with an invalid value in xsi:schemaLocation, like xsi:schemaLocation=“foo http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd
xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance”.

I’m using the following raw body:

<wfs:Transaction
xmlns:wfs=“http://www.opengis.net/wfs
service=“WFS”
version=“1.1.0”
xsi:schemaLocation=“foo http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd
xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance”>
<wfs:Insert>
<feature:points xmlns:feature=“http://wfsdemo”><feature:the_geom>
<gml:Point xmlns:gml=“http://www.opengis.net/gml” srsName=“EPSG:4326”><gml:pos>-45.17578125000017 -10.401377554543247</gml:pos></gml:Point>
</feature:the_geom></feature:points>
</wfs:Insert>
</wfs:Transaction>

Add Comment

Add Comment

This message was sent by Atlassian JIRA (v6.1.6#6162-sha1:7af547c)

Atlassian logo