[Geoserver-devel] [jira] Created: (GEOS-4290) outputFormat "text/xml; subtype=gml/3.2" don't eppear in section describefeaturetype in getcapabilities response in GeoServer 2.1-beta3

outputFormat "text/xml; subtype=gml/3.2" don't eppear in section describefeaturetype in getcapabilities response in GeoServer 2.1-beta3
---------------------------------------------------------------------------------------------------------------------------------------

                 Key: GEOS-4290
                 URL: http://jira.codehaus.org/browse/GEOS-4290
             Project: GeoServer
          Issue Type: Bug
          Components: WFS
    Affects Versions: 2.1-beta3
            Reporter: Bartłomiej Burkot
            Assignee: Andrea Aime

In getcapabilities's response
?SERVICE=WFS&REQUEST=GetCapabilities&VERSION=1.1.0
there is the outputFormat GML 3.2.1 in Getfeature section but for DescribeFeatureType it is only gml 3.1.1 support.
OutputFormat GML32 isn't present for DescribeFeatureType?
Under I add a piece of getcapabilities response

When I issu describefeaturetype with parameter outputFormat GML 3.2.1:
?service=wfs&version=1.1.0&request=DescribeFeatureType&outputFormat=text/xml; subtype=gml/3.2&typename=tbd:onetypename

i get on top of xml response xsd:import namespace="http://www.opengis.net/wfs/2.0":

<xsd:schema elementFormDefault="qualified" targetNamespace="http://www.probka.gugik.gov.pl/TBD&quot;&gt;
<xsd:import namespace="http://www.opengis.net/wfs/2.0&quot; schemaLocation="http://192.168.1.102:8085/geoserver/schemas/gml/3.2.1/gml.xsd&quot;/&gt;

This seems to point to WFS 2.0 insteed of 1.1.0 as in request parameter ?service=wfs&version=1.1.0

Response with &outputFormat=text/xml; subtype=gml/3.1.1 from:
?service=wfs&version=1.1.0&request=DescribeFeatureType&outputFormat=text/xml; subtype=gml/3.1.1&typename=tbd:onetypename
is correct.

A piece of getcapabilities document:

<ows:Operation name="DescribeFeatureType">
&#8722;
<ows:DCP>
&#8722;
<ows:HTTP>
<ows:Get xlink:href="http://localhost:8080/geoserver/wfs&quot;/&gt;
<ows:Post xlink:href="http://localhost:8080/geoserver/wfs&quot;/&gt;
</ows:HTTP>
</ows:DCP>
&#8722;
<ows:Parameter name="outputFormat">
<ows:Value>text/xml; subtype=gml/3.1.1</ows:Value>
</ows:Parameter>
</ows:Operation>
&#8722;
<ows:Operation name="GetFeature">
&#8722;
<ows:DCP>
&#8722;
<ows:HTTP>
<ows:Get xlink:href="http://localhost:8080/geoserver/wfs&quot;/&gt;
<ows:Post xlink:href="http://localhost:8080/geoserver/wfs&quot;/&gt;
</ows:HTTP>
</ows:DCP>
&#8722;
<ows:Parameter name="resultType">
<ows:Value>results</ows:Value>
<ows:Value>hits</ows:Value>
</ows:Parameter>
&#8722;
<ows:Parameter name="outputFormat">
<ows:Value>text/xml; subtype=gml/3.1.1</ows:Value>
<ows:Value>GML2</ows:Value>
<ows:Value>GML2-GZIP</ows:Value>
<ows:Value>SHAPE-ZIP</ows:Value>
<ows:Value>csv</ows:Value>
<ows:Value>gml3</ows:Value>
<ows:Value>gml32</ows:Value>
<ows:Value>json</ows:Value>
<ows:Value>text/xml; subtype=gml/2.1.2</ows:Value>
<ows:Value>text/xml; subtype=gml/3.2</ows:Value>
</ows:Parameter>

--
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