[Geoserver-devel] [jira] Created: (GEOS-1705) DescribeFeatureType for WFS 1.0.0 potentially sets the xml charset to its human readable form instead of its canonical form

DescribeFeatureType for WFS 1.0.0 potentially sets the xml charset to its human readable form instead of its canonical form
---------------------------------------------------------------------------------------------------------------------------

                 Key: GEOS-1705
                 URL: http://jira.codehaus.org/browse/GEOS-1705
             Project: GeoServer
          Issue Type: Bug
          Components: WCS, WFS
    Affects Versions: 1.6.0-RC3
            Reporter: Gabriel Roldán
            Assignee: Gabriel Roldán
             Fix For: 1.6.0

The problem is in main\java\org\geoserver\wfs\xml\v1_0_0\XmlSchemaEncoder.java.
The fact that most of the time the charset in the resulting XML document is well set is casual, and happens as long as the Charset class returns the canonical name for both name() and displayName().

The fix is just to replace {{wfs.getCharSet().displayName()}} by {{wfs.getCharSet().name()}}

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