Message:
A new issue has been created in JIRA.
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/secure/ViewIssue.jspa?key=GEOS-13
Here is an overview of the issue:
---------------------------------------------------------------------
Key: GEOS-13
Summary: Add mandatory attributes
Type: Task
Status: Open
Priority: Major
Original Estimate: 2 hours, 30 minutes
Time Spent: Unknown
Remaining: 2 hours, 30 minutes
Project: GeoServer
Components:
Configuration
Fix Fors:
1.1.0
Versions:
1.1beta
Assignee: Chris Holmes
Reporter: Chris Holmes
Created: Wed, 10 Dec 2003 3:38 PM
Updated: Wed, 10 Dec 2003 3:38 PM
Description:
In version 1.0.* one could set an attribute as 'mandatory', ensuring that it was returned every time. This is a bit hacky, in an ideal world one should be able to just set the schema to minOccurs=1 and it will automatically return. But the geotools gml parser needs to get a lot better first. So until then we will just set it in the info.xml file for featureTypes. This should fit in nicely with the newly added 'exposed' attributes, where one can specify which attributes to expose. We will just add an attribute mandatory="true".
As for coding this, unfortunately geotools doesn't support the mandatory concept. So for now we can hack it in to geoserver, and just add it to the query request. We may be able to wrap the schema to do it a bit more elegantly.
This functionality is needed to pass cite tests, getFeature #4
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira