[Geoserver-devel] [jira] Created: (GEOS-3182) GML2 output returns invalid feature bounds when geometry is null

GML2 output returns invalid feature bounds when geometry is null
----------------------------------------------------------------

                 Key: GEOS-3182
                 URL: http://jira.codehaus.org/browse/GEOS-3182
             Project: GeoServer
          Issue Type: Bug
          Components: WFS
    Affects Versions: 1.7.5
            Reporter: Andrea Aime
            Assignee: Andrea Aime
             Fix For: 1.7.6

When a geometry is null inside the original data store the following is generated:

{code:xml}
<gml:boundedBy>
<gml:Box srsName="http://www.opengis.net/gml/srs/epsg.xml#4269&quot;&gt;
<gml:coordinates decimal="." cs="," ts=" ">-1,-1 0,0</gml:coordinates>
</gml:Box>
</gml:boundedBy>
{code}

whilst the proper notation for missing bounds is more like (check the alternate notations for null as well):

{code:xml}
<gml:boundedBy>
<gml:null>unknown</gml:null>
</gml:boundedBy>
{code}

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