Invalid wfs schema references when using describe feature type against multiple
--------------------------------------------------------------------------------
Key: GEOS-1518
URL: http://jira.codehaus.org/browse/GEOS-1518
Project: GeoServer
Issue Type: Bug
Components: WFS
Affects Versions: 1.6.0-beta4
Reporter: Andrea Aime
Assignee: Andrea Aime
Fix For: 1.6.0-RC1
When hitting GeoServer with the following cite wfs 1.0 request:
http://host:8080/geoserver/wfs?request=DescribeFeatureType
the result is:
{code:xml}
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"
attributeFormDefault="unqualified" version="1.0">
<xs:import namespace="http://www.opengis.net/cite/data"
schemaLocation="http://localhost:8080/geoserver?request=DescribeFeatureType&service=wfs&version=1.0.0&typeName=cdf:Locks,cdf:Deletes,cdf:Inserts,cdf:Updates,cdf:Nulls,cdf:Fifteen,cdf:Other,cdf:Seven" />
<xs:import namespace="http://www.opengis.net/cite/geometry"
schemaLocation="http://localhost:8080/geoserver?request=DescribeFeatureType&service=wfs&version=1.0.0&typeName=cgf:Lines,cgf:Points,cgf:Polygons,cgf:MLines,cgf:MPoints,cgf:MPolygons" />
</xs:schema>
{code}
and the specified location jus redirect back to the geoserver home page. The correct result should be:
{code:xml}
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"
attributeFormDefault="unqualified" version="1.0">
<xs:import namespace="http://www.opengis.net/cite/data"
schemaLocation="http://localhost:8080/geoserver/wfs?request=DescribeFeatureType&service=wfs&version=1.0.0&typeName=cdf:Locks,cdf:Deletes,cdf:Inserts,cdf:Updates,cdf:Nulls,cdf:Fifteen,cdf:Other,cdf:Seven" />
<xs:import namespace="http://www.opengis.net/cite/geometry"
schemaLocation="http://localhost:8080/geoserver/wfs?request=DescribeFeatureType&service=wfs&version=1.0.0&typeName=cgf:Lines,cgf:Points,cgf:Polygons,cgf:MLines,cgf:MPoints,cgf:MPolygons" />
</xs:schema>
{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