[Geoserver-devel] [jira] Created: (GEOS-4521) WPS DescribeProcess output is not valid

WPS DescribeProcess output is not valid
---------------------------------------

                 Key: GEOS-4521
                 URL: http://jira.codehaus.org/browse/GEOS-4521
             Project: GeoServer
          Issue Type: Bug
          Components: WPS
    Affects Versions: 2.1-RC5
            Reporter: Bart van den Eijnden
            Assignee: Andrea Aime
         Attachments: WPS_DescribeProcess_valid.xml

The ouput from WPS DescribeProcess is not valid, I get the following errors after adding the schemaLocation (missing here as well):

SystemID: http://localhost:8080/geoserver/ows?service=wps&version=1.0.0&request=DescribeProcess&identifier=JTS:buffer
Engine name: Xerces
Severity: error
Description: cvc-complex-type.4: Attribute 'lang' must appear on element 'wps:ProcessDescriptions'.
Start location: 2:2
End location: 2:25
URL: http://www.w3.org/TR/xmlschema-1/#cvc-complex-type

SystemID: http://localhost:8080/geoserver/ows?service=wps&version=1.0.0&request=DescribeProcess&identifier=JTS:buffer
Engine name: Xerces
Severity: error
Description: cvc-complex-type.2.4.a: Invalid content was found starting with element 'wps:ProcessDescription'. One of '{ProcessDescription}' is expected.
Start location: 6:6
End location: 6:28
URL: http://www.w3.org/TR/xmlschema-1/#cvc-complex-type

SystemID: http://localhost:8080/geoserver/ows?service=wps&version=1.0.0&request=DescribeProcess&identifier=JTS:buffer
Engine name: Xerces
Severity: error
Description: cvc-complex-type.2.4.a: Invalid content was found starting with element 'wps:DataInputs'. One of '{"http://www.opengis.net/ows/1.1":Metadata, "http://www.opengis.net/wps/1.0.0":Profile, "http://www.opengis.net/wps/1.0.0":WSDL, DataInputs, ProcessOutputs}' is expected.
Start location: 11:10
End location: 11:24
URL: http://www.w3.org/TR/xmlschema-1/#cvc-complex-type

and more of the same type of errors.

--
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