Geoserver returns exception with text 'org.xmlpull.v1.XmlPullParserException:
could not determine namespace bound to element prefix wfs...' even if 'Strict
CITE compliance' is disabled
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Key: GEOS-4458
URL: http://jira.codehaus.org/browse/GEOS-4458
Project: GeoServer
Issue Type: Bug
Affects Versions: 2.1-RC3
Reporter: Serge Markin
Assignee: Andrea Aime
Priority: Blocker
The current stable version of the OpenLayers (2.10) produces WFS-T requests
without following namespace bindings:
xmlns:wfs="http://www.opengis.net/wfs"
xmlns:ogc="http://www.opengis.net/ogc"
xmlns:gml="http://www.opengis.net/gml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance".
Answering on these requests fresh installation of the Geoserver 2.1-RC3
responds with the following exception:
<?xml version="1.0" encoding="UTF-8"?>
<ows:ExceptionReport version="1.0.0"
xsi:schemaLocation="http://www.opengis.net/ows
http://services.local:80/geoserver/schemas/ows/1.0.0/owsExceptionReport.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:ows="http://www.opengis.net/ows">
<ows:Exception exceptionCode="NoApplicableCode">
<ows:ExceptionText>org.xmlpull.v1.XmlPullParserException: could not
determine namespace bound to element prefix wfs (position: START_DOCUMENT seen
...www.opengis.net/wfs
http://schemas.opengis.net/wfs/1.1.0/wfs.xsd&quot;&gt;... @4:96)
could not determine namespace bound to element prefix wfs (position:
START_DOCUMENT seen ...www.opengis.net/wfs
http://schemas.opengis.net/wfs/1.1.0/wfs.xsd&quot;&gt;... @4:96)
</ows:ExceptionText>
</ows:Exception>
</ows:ExceptionReport>
Disabling of 'Strict CITE compliance' and posting to the
...geoserver/wfs?strict=false does not solve the problem.
The easiest way to reproduce - execute WFS_getFeatureBBOX-1.1.xml demo after
removing these lines:
xmlns:wfs="http://www.opengis.net/wfs"
xmlns:ogc="http://www.opengis.net/ogc"
xmlns:gml="http://www.opengis.net/gml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself;
WebMatrix provides all the features you need to develop and
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel