[Geoserver-devel] [jira] Created: (GEOS-1518) Invalid wfs schema references when using describe feature type against multiple

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&quot; elementFormDefault="qualified"
  attributeFormDefault="unqualified" version="1.0">
  <xs:import namespace="http://www.opengis.net/cite/data&quot;
    schemaLocation="http://localhost:8080/geoserver?request=DescribeFeatureType&amp;service=wfs&amp;version=1.0.0&amp;typeName=cdf:Locks,cdf:Deletes,cdf:Inserts,cdf:Updates,cdf:Nulls,cdf:Fifteen,cdf:Other,cdf:Seven&quot; />
  <xs:import namespace="http://www.opengis.net/cite/geometry&quot;
    schemaLocation="http://localhost:8080/geoserver?request=DescribeFeatureType&amp;service=wfs&amp;version=1.0.0&amp;typeName=cgf:Lines,cgf:Points,cgf:Polygons,cgf:MLines,cgf:MPoints,cgf:MPolygons&quot; />
</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&quot; elementFormDefault="qualified"
  attributeFormDefault="unqualified" version="1.0">
  <xs:import namespace="http://www.opengis.net/cite/data&quot;
    schemaLocation="http://localhost:8080/geoserver/wfs?request=DescribeFeatureType&amp;service=wfs&amp;version=1.0.0&amp;typeName=cdf:Locks,cdf:Deletes,cdf:Inserts,cdf:Updates,cdf:Nulls,cdf:Fifteen,cdf:Other,cdf:Seven&quot; />
  <xs:import namespace="http://www.opengis.net/cite/geometry&quot;
    schemaLocation="http://localhost:8080/geoserver/wfs?request=DescribeFeatureType&amp;service=wfs&amp;version=1.0.0&amp;typeName=cgf:Lines,cgf:Points,cgf:Polygons,cgf:MLines,cgf:MPoints,cgf:MPolygons&quot; />
</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