I still haven't been able to resolve this issue. The XML looks fine. Could someone tell me what I am doing wrong, or suggest a work around.
Thanks, Drew. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Simpson Sent: Monday, November 14, 2005 8:03 AM To: [email protected] Subject: [Geotools-gt2-users] WFS Null in GetFeature 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 it throws the exception below. Reviewing the gml schema, it seems "missing" is one of the enumerated values of gml:NullType. Any ideas? Thanks, Drew. ===================== EXCEPTION ===================================== Nov 14, 2005 7:31:32 AM org.geotools.xml.XMLSAXHandler endElement WARNING: The value passed in to gml:NullType was not one of the allowable enumerated values. Nov 14, 2005 7:31:32 AM org.geotools.xml.XMLSAXHandler endElement WARNING: Line 11 Col 35 Nov 14, 2005 7:31:32 AM org.geotools.data.wfs.WFSDataStore getFeatureReader WARNING: java.io.IOException: org.xml.sax.SAXException: The value passed in to gml:NullType was not one of the allowable enumerated values. java.io.IOException: org.xml.sax.SAXException: The value passed in to gml:NullType was not one of the allowable enumerated values. at org.geotools.xml.gml.FCBuffer.hasNext(FCBuffer.java:304) at org.geotools.data.wfs.WFSFeatureReader.loadElement(WFSFeatureReader.java:164 ) at org.geotools.data.wfs.WFSFeatureReader.hasNext(WFSFeatureReader.java:153) at org.geotools.data.wfs.WFSDataStore.getFeatureReader(WFSDataStore.java:821) ======================== XML =========================================== <?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&VERSION=1.0.0&REQUES T=DescribeFeatureType&TYPENAME=test_street&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 ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
