[Geoserver-devel] [jira] Created: (GEOS-4579) format attribute support on wps data inputs

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@anonymised.com=text/xml@anonymised.com=utf-8@anonymised.com=xsd@anonymised.com=true
{code}
and
{code}
http://foo.bar.1/wps?version=1.0.0&request=Execute&service=WPS&Identifier=Buffe r&DataInputs=BufferDistance=100@anonymised.com=integer@anonymised.com=meter;Object=
@Format=text/xml@anonymised.com=utf-8@anonymised.com=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