Overriding schema.xsd in states shapefile does not seem to work for GetFeature
WFS 1.1
--------------------------------------------------------------------------------------
Key: GEOS-3186
URL: http://jira.codehaus.org/browse/GEOS-3186
Project: GeoServer
Issue Type: Bug
Affects Versions: 1.7.5
Reporter: Andrea Aime
Assignee: Justin Deoliveira
Fix For: 1.7.6
Steps to reproduce:
1) get the WFS 1.1.0 DescribeFeatureType response and store it in a schema.xsd
file inside the feature type configuration
2) remove all of the columns but the first three
3) reload
Results:
- schema.xml is generated
- the feature type config panel shows only the 3 left attributes
- DescribeFeatureType works fine for both wfs 1.0 and 1.1
- GetFeature works fine for 1.0 and only the chosen attributes are returned
- WFS 1.1 GetFeature returns
{code:xml}
<ows:ExceptionReport version="1.0.0"
xsi:schemaLocation="http://www.opengis.net/ows
http://localhost:8080/geoserver/schemas/ows/1.0.0/owsExceptionReport.xsd">
<ows:Exception exceptionCode="NoApplicableCode">
<ows:ExceptionText>
java.lang.RuntimeException: Could not find element declaration:
(http://www.openplans.org/topp, states )
Could not find element declaration: (http://www.openplans.org/topp, states )
</ows:ExceptionText>
</ows:Exception>
</ows:ExceptionReport>
{code}
--
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
------------------------------------------------------------------------------
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel