On Fri, Apr 29, 2011 at 12:29 PM, Bart van den Eijnden <[email protected]> wrote:
> 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.
>
> I've attached an XML response (for JTS:Buffer) that now validates for 
> reference.

Hi Bart,
this comes as a surprise to me, I thought I had XML validation on each
and all WPS responses
in the testing.

Anyways, thanks for reporting the issues in Jira, that would have been
my suggestion as well.
Not sure when I'll be able to look into them, WPS is kind of my spare
time pet project at the moment
(along with a ton of other stuff ;-) ) but I'll try :-)

Cheers
Andrea


-- 
-------------------------------------------------------
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead

Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584 962313
fax:      +39 0584 962313

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf

-------------------------------------------------------

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to