net.opengis.ows10.DomainType.getValue() has wrong multiplicity.
---------------------------------------------------------------
Key: GEOT-2096
URL: http://jira.codehaus.org/browse/GEOT-2096
Project: GeoTools
Issue Type: Bug
Affects Versions: 2.5.1
Reporter: Gabriel Roldán
Assignee: Justin Deoliveira
Fix For: 2.6-M0
The OWS 1.0 schema (owsGetCapabilities.xsd) defines the value attribute for the
DomainType type with maxoccurs=unbounded. Yet, the ecore mapping in the
{{net.opengis.ows}} module defines it as a single String.
This prevents a WFS capabilities document (or other ows based capabilities
document) to be parsed with the full list of supported output formats.
For example:
{code}
<ows:Parameter name="outputFormat">
<ows:Value>text/gml; subtype=gml/3.1.1</ows:Value>
<ows:Value>text/xml; subtype=gml/2.1.2</ows:Value>
</ows:Parameter>
{code}
gets parsed as the single string {{text/xml; subtype=gml/2.1.2}}
--
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
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel