format attribute support on wps data inputs
-------------------------------------------
Key: GEOS-4579
URL: http://jira.codehaus.org/browse/GEOS-4579
Project: GeoServer
Issue Type: Bug
Components: WPS
Reporter: Tim Schaub
Assignee: Andrea Aime
Attachments: wpsFormatSupport.patch
Looking at the WPS spec, I made the assumption that when the server described
complex data inputs for a process with a <Format> element, the client was
supposed to make KVP style requests using a "Format" attribute for the data
input. This assumption could be totally wrong, I'm really just looking for
clarification here (so this is likely an invalid bug).
The examples in 10.2.2.1.1 and 10.2.2.2 use KVP requests like this:
{code}
fieldName=xml@Format=text/xml@Encoding=utf-8@Schema=xsd@asReference=true
{code}
and
{code}
http://foo.bar.1/wps?version=1.0.0&request=Execute&service=WPS&Identifier=Buffe
r&DataInputs=BufferDistance=100@datatype=integer@uom=meter;Object=
@Format=text/xml@Encoding=utf-8@Schema=xsd
{code}
This lead me to believe that the client should provide a "Format" attribute
with the mime-type as a value to specify which format they are supplying. The
attached patch was a start at providing support for this. Then when I looked
at the tests, I saw that the "mimeType" attribute was used for just this
purpose.
Am I misreading the spec? If not, would it make sense to support "Format" as
an alias for "mimeType"?
--
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
------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery,
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now.
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel