Iam using geoserver 1.1.1 and my feature type fire:fire has the following schema:
<xs:complexType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="fire_Type">
<xs:complexContent>
<xs:extension base="gml:AbstractFeatureType">
<xs:sequence>
<xs:element name="the_geom" minOccurs="0" nillable="true" type="gml:MultiPolygonPropertyType" />
<xs:element name="ID" minOccurs="1" nillable="true" type="xs:int" />
<xs:element name="NAME" minOccurs="1" nillable="true" type="xs:string" />
<xs:element name="COUNTY" minOccurs="1" nillable="true" type="xs:string" />
<xs:element name="COUNTY_ID" minOccurs="1" nillable="true" type="xs:int" />
<xs:element name="EDIT_DATE" minOccurs="0" nillable="true" type="xs:string" />
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
When I make this request: http://localhost:8080/geoserver/wfs?REQUEST=GetFeature&OUTPUTFORMAT=GML2&TYPENAME=fire:fire&PROPERTYNAME=fire:the_geom
I get only the features with the specified property name (which is an optional property), but the wfs specification says that the server must return the fetched property and all the mandatories properties defined in the schema.
The same occurs when I make the request with a mandatory property (I get only the specified property).
By the way, I am finding those bugs because I am building a wfs testing engine to check if a wfs follows the ogc specifications. (When the testing engine is finished, we have planned to donate it as open source).
--
Miguel Ángel Esbrí
Dept. Information Systems
(Lenguajes y Sistemas Informáticos)
Universitat Jaume I
E-12071 Castellón, Spain
mailto:maesbri@anonymised.com
http://edugi.uji.es