[Geoserver-devel] [jira] Created: (GEOS-3813) Add support for canonical WFS schemaLocation in WFS 1.1 responses

Add support for canonical WFS schemaLocation in WFS 1.1 responses
-----------------------------------------------------------------

                 Key: GEOS-3813
                 URL: http://jira.codehaus.org/browse/GEOS-3813
             Project: GeoServer
          Issue Type: Improvement
          Components: WFS
            Reporter: Ben Caradoc-Davies
            Assignee: Ben Caradoc-Davies
             Fix For: 2.0.x, 2.1.x

GeoServer WFS 1.1 responses have a schemaLocation attribute on wfs:FeatureCollection similar to this:

{code}
xsi:schemaLocation="http://www.opengis.net/wfs http://localhost:8080/geoserver/schemas/wfs/1.1.0/wfs.xsd ...
{code}

Some communities prefer to encode the canonical WFS 1.1 schemaLocation URL http://schemas.opengis.net/wfs/1.1.0/wfs.xsd in responses. This would change the schemalocation attribute to:

{code}
xsi:schemaLocation="http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd ...
{code}

I propose to add a GeoServer-wide switch to allow WFS service owners to select this canonical-WFS-URL-in-schemaLocation behaviour. The default behaviour will be the current behaviour.

Discussion:
http://old.nabble.com/WFS-schema-location:-why-not-canonical-URL--td26738830.html

The schemaLocation attribute is configured in GML3OutputFormat.

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