Hi All,
Is there anything special about the words “description” and “location”?
When I do a DescribeFeatureType usig WFS version 1.1.0 on GeoServer 1.6.4 I don’t get all the elements returned. If I use version 1.0.0 or GeoSever 1.7 I get the expected results.
GeoServer 1.6.4 output:
<xsd:complexType name=“pete_testType”>
xsd:complexContent
<xsd:extension base=“gml:AbstractFeatureType”>
xsd:sequence
<xsd:element maxOccurs=“1” minOccurs=“0” name=“the_geom” nillable=“true” type=“gml:PointPropertyType”/>
<xsd:element maxOccurs=“1” minOccurs=“0” name=“site_name” nillable=“true” type=“xsd:string”/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:element name=“pete_test” substitutionGroup=“gml:_Feature” type=“topp:pete_testType”/>
</xsd:schema>
GeoServer 1.7 output:
<xsd:complexType name=“pete_testType”>
xsd:complexContent
<xsd:extension base=“gml:AbstractFeatureType”>
xsd:sequence
<xsd:element maxOccurs=“1” minOccurs=“0” name=“the_geom” nillable=“true” type=“gml:PointPropertyType”/>
<xsd:element maxOccurs=“1” minOccurs=“0” name=“site_name” nillable=“true” type=“xsd:string”/>
<xsd:element maxOccurs=“1” minOccurs=“0” name=“description” nillable=“true” type=“xsd:string”/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:element name=“pete_test” substitutionGroup=“gml:_Feature” type=“topp:pete_testType”/>
</xsd:schema>
Both GeoServers are newly created and running against the same PostGIS database view. GetFeature returns all elements. If I change the name of the column to another word then everything works fine.
Cheers,
Pete
Plymouth Marine Laboratory
Prospect Place
Plymouth
PL1 3DH
Website: www.pml.ac.uk
Registered Charity No. 1091222
Company No. 4178503
PML is a member of the Plymouth Marine Sciences Partnership
Website: www.pmsp.org.uk
Please think before you print.
This e-mail, its content and any file attachments are confidential.
If you have received this e-mail in error please do not copy, disclose it to any third party or use the contents or attachments in any way. Please notify the sender by replying to this e-mail or e-mail forinfo@anonymised.com and then delete the email without making any copies or using it in any other way.
The content of this message may contain personal views which are not the views of Plymouth Marine Laboratory unless specifically stated.
You are reminded that e-mail communications are not secure and may contain viruses. Plymouth Marine Laboratory accepts no liability for any loss or damage which may be caused by viruses.