[Geoserver-devel] [jira] (GEOS-5336) DescribeFeatureType should return annotation from custom schema.xsd

Andreas Hocevar created WishGEOS-5336
DescribeFeatureType should return annotation from custom schema.xsd

Issue Type:

WishWish

Affects Versions:

2.2

Assignee:

Andrea Aime

Components:

WFS

Created:

05/Oct/12 3:31 AM

Description:

xsd:annotation can be used to add human- or machine readable information to the schema. In client applications, this could be used to provide titles and descriptions for attribute display or editing components, e.g.

<xsd:element maxOccurs="1" minOccurs="0" name="PERSONS" nillable="true" type="xsd:double">
    <xsd:annotation>
        <xsd:appinfo>{"title":{"en":"Population"}}</xsd:appinfo>
        <xsd:documentation xml:lang="en">
            Number of persons living in the state
        </xsd:documentation>
    </xsd:annotation>
</xsd:element>

Unfortunately GeoServer strips the content of the annotation element, so this does not work. The desired behavior would be that GeoServer passes on the full annotation as provided in schema.xsd.

Project:

GeoServer

Priority:

MinorMinor

Reporter:

Andreas Hocevar

This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your [JIRA administrators](https://jira.codehaus.org/secure/ContactAdministrators!default.jspa). For more information on JIRA, see: [http://www.atlassian.com/software/jira](http://www.atlassian.com/software/jira)