[Geoserver-devel] [jira] (GEOS-5024) WFS 1.1 capabilitiles documents on trunk are schema invalid

Andrea Aime created GEOS-5024:
---------------------------------

             Summary: WFS 1.1 capabilitiles documents on trunk are schema invalid
                 Key: GEOS-5024
                 URL: https://jira.codehaus.org/browse/GEOS-5024
             Project: GeoServer
          Issue Type: Bug
            Reporter: Andrea Aime
            Assignee: Justin Deoliveira
            Priority: Critical

Asking for WFS 1.1.0 capabilities on trunk returns a schema invalid document.
See the following snippet:

{code:xml}
<FeatureType xmlns:topp="http://www.openplans.org/topp&quot;&gt;
      <Name>topp:states</Name>
      <Title>USA Population</Title>
      <Abstract>This is some census data on the states.</Abstract>
      <ows:Keywords>
        <ows:Keyword>census</ows:Keyword>
        <ows:Keyword>united</ows:Keyword>
        <ows:Keyword>boundaries</ows:Keyword>
        <ows:Keyword>state</ows:Keyword>
        <ows:Keyword>states</ows:Keyword>
      </ows:Keywords>
      <DefaultCRS>urn:x-ogc:def:crs:EPSG:4326</DefaultCRS>
      <ows:WGS84BoundingBox>
        <ows:LowerCorner>-124.731422 24.955967</ows:LowerCorner>
        <ows:UpperCorner>-66.969849 49.371735</ows:UpperCorner>
      </ows:WGS84BoundingBox>
    </FeatureType>
{code}

The schema says DefaultSRS, not DefaultCRS. 2.1.x generates a valid schema instead

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