[Geoserver-devel] [jira] Created: (GEOS-1932) Aliasing "broken" in WFS1.1 DFT

Aliasing "broken" in WFS1.1 DFT
-------------------------------

                 Key: GEOS-1932
                 URL: http://jira.codehaus.org/browse/GEOS-1932
             Project: GeoServer
          Issue Type: Bug
          Components: WFS
    Affects Versions: 1.6.3
            Reporter: Chris Tweedie
            Assignee: Andrea Aime

The alias implementation we sponsored was mainly centered around WFS1.0 ... due to ArcGIS not sending a version with its WFS requests (see #1931), the returned WFS1.1 response is causing us significant headaches due to the following ...

1. Getcapabilities

/wfs?SERVICE=WFS&REQUEST=getcapabilities

<FeatureType>
<Name>slip:LGATE-001</Name>

2. ArcGIS will then do a DFT on the given featuretype

/wfs?SERVICE=WFS&VERSION=1.1.0&REQUEST=describefeaturetype&typename=slip:LGATE-001

3. Geoserver returns the followin element ...

<xsd:element name="lgate_001" substitutionGroup="gml:_Feature" type="slip:LGATE-001Type"/>

Note the name value is actually the table name and not the alias.

4. ArcGIS then attempts to GetFeature on lgate_001 which obviously will fail

wfs?SERVICE=WFS&VERSION=1.1.0&REQUEST=getfeautre&typename=lgate_001....

Could not find type: {http://www.openplans.org/topp\}lgate_001

WFS1.0 is without problems.

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