I have a PostGIS database (2.1.3 on PostgreSQL 9.3.5) exposed as a WFS service with the geoserver (2.6-RC1). This table has 4 columns: an id, a String, a Date and a Point Geometry.
When calling DescribeFeatureType with Version 1.0.0, the XSD describes a complexe type with the 4 columns. But when I use 1.1.0 or 2.0.0 the XSD does not include the gml:PointPropertyType attribute refering my last colum of type Point Geometry. I'm then not able to do use any geographic/geometric filter on that WFS service.
The only difference I've seen is that the GML version used in reference in the output XSD is not the same (GML 2.1.2 for WFS 1.0.0, and GML 3.x for WFS 1.1.0 and 2.0.0).
What did I miss to let this work in 2.0.0 or 1.1.0 at least? PS: I need WFS > 1.0.0 to use time filters on my date column.
Edit: When configuring WFS service inside Geoserver, it seems that the "Override GML Attributes" check-box for GML 2 what checked by default, while for GML 3 and 3.2 it wasn't. Once these checkboxes are checked the returned XSD also contains my fourth column of type gml:PointPropertyType.