Hello,

Running a GetFeature with a bounding box that will return no features, I get 
the XML below back from the WFS server, and when GeoTools is parsing the xml 
XMLSAXHandler throws a "gml:NullType was not one of the allowable enumerated 
values" exception.  

Reviewing the gml schema, it seems "missing" is one of the enumerated values of 
gml:NullType.

Any ideas?

Thanks,
Drew.


<?xml version='1.0' encoding="ISO-8859-1" ?>
<wfs:FeatureCollection
   xmlns:myns="http://www.ttt.org/myns";
   xmlns:wfs="http://www.opengis.net/wfs";
   xmlns:gml="http://www.opengis.net/gml";
   xmlns:ogc="http://www.opengis.net/ogc";
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
   xsi:schemaLocation="http://www.opengis.net/wfs 
http://ogc.dmsolutions.ca/wfs/1.0.0/WFS-basic.xsd 
                       http://www.ttt.org/myns 
https://www.xxx.com/cgi-bin/mapserv?SERVICE=WFS&amp;VERSION=1.0.0&amp;REQUEST=DescribeFeatureType&amp;TYPENAME=test_street&amp;OUTPUTFORMAT=XMLSCHEMA";>
   <gml:boundedBy>
      <gml:null>missing</gml:null>
   </gml:boundedBy>
</wfs:FeatureCollection>



-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to