<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Soeren,<div>I made lot of mistake in my previous mail, maybe I had to sleep before answering but I tried to be reactive and this imply I was wrong. Hope you all will forgive.</div><div><br><div><div>Le 28 nov. 2009 à 00:12, Soeren Gebbert a écrit :</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Hello Gerald,<br>thanks for your post. It is really important for me that a WPS expert<br>has a look on the generated XML documents.<br>I am still a bloody beginner at this topic.<br><br>The XML output of grass should be WPS 1.0.0 compatible.<br>I am using the OGC WPS 1.0.0 xsd files for validation and the WPS<br>1.0.0 OGC report number 05-007r07.<br><br>2009/11/28 Gérald Fenoy <<a href="mailto:gerald.fenoy@geolabs.fr">gerald.fenoy@geolabs.fr</a>>:<br><blockquote type="cite">Hi Markus,<br></blockquote><blockquote type="cite">nice to hear from you again.<br></blockquote><blockquote type="cite">There is something in the DescribeProcess which make me wondering if I'm<br></blockquote><blockquote type="cite">wrong or miss something (or maybe the last version of WPS proposal ??). Why<br></blockquote><blockquote type="cite">was ComplexOutput used where ComplexData should be used ?<br></blockquote><blockquote type="cite">Table 46 of the WPS proposal define the Data structure and seems to define<br></blockquote><blockquote type="cite">that we have to use ComplexData rather than ComplexOutput.<br></blockquote><br>ComplexData is used within Input description and ComplexOutput is used<br>in Output description.<br>The XML file within the mail of Markus is only a part of a more<br>complex XML file.<br>The last ComplexOutput is part of an Output description. Well,<br>ComplexOutput is indeed of data type ComplexData (see table 36) but<br>you have to name it ComplexOutput in case of an Output.<br><br></div></blockquote><div><br></div><div>You're right, but this still sounds odd to me. Indeed as the ComplexData is already in an Output node I wonder why the XML differ between the Input and the Output. ZOO Kernel currently use the same ComplexData or LiteralData for both Input and Output. Nevertheless this can be easily corrected.</div><br><blockquote type="cite"><div>But besides of that, there are several bugs in this XML document.<br>Several tags are wrong do to my function renaming yesterday:<br></process_outputs><br></process_description><br></wps:process_descriptions><br>...<br><br>I have fixed this in grass7 svn to provide conform WPS XML support.<br>The validation tool i use, which validates the XML files against the<br>OGC xsd files,<br>says everything is correct now.<br><br><blockquote type="cite">Furthermore, you use a node for MimeType, I've understood that in the WPS<br></blockquote><blockquote type="cite">proposal, when they use the first letter capitalized that means that we have<br></blockquote><blockquote type="cite">to use a node. But for mimeType it was specified as-is, so I'm pretty sure<br></blockquote><blockquote type="cite">that it have to be used as an attribute of the ComplexData node. Please<br></blockquote><blockquote type="cite">correct me if I'm wrong.<br></blockquote><br>The MimeType should be a separate element within the Format element in<br>ComplexData, see table 23 in OGC 07-007r07 document.<br><br>Have a look at the reference example:<br><a href="http://schemas.opengis.net/wps/1.0.0/examples/40_wpsDescribeProcess_response.xml">http://schemas.opengis.net/wps/1.0.0/examples/40_wpsDescribeProcess_response.xml</a><br></div></blockquote><div><br></div>Yes, another time, you're totaly right Soeren, I made a mistake, in fact even the ZOO Kernel provide such a node :] </div><div><br><blockquote type="cite"><div><br><blockquote type="cite">Maybe that's why we have to create a parser to be able to use the<br></blockquote><blockquote type="cite">DescribeProcess as source for creating the zcfg file which specify the<br></blockquote><blockquote type="cite">process' metadata.<br></blockquote><br>Nope. The WPS output generated by grass must be WPS 1.0.0 compatibel,<br>everything else is not acceptable.<br>In case you or somebody else will find incompatibilities, i will fix<br>it as fast as i can.<br><br></div></blockquote><div><br></div><div>Ok that's sound good to me.</div><br><blockquote type="cite"><div>Best regards<br>Soeren<br><font class="Apple-style-span" color="#000000"><font class="Apple-style-span" color="#144FAE"><br></font></font></div></blockquote></div><div><br></div>Thanks a lot to keep in touch,</div><div>kind regards,</div><div><br></div><div>Good Tabaski guys ! :)</div><br><br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div><div><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div><span class="Apple-style-span" style="font-size: 12px; "><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><span class="Apple-style-span" style="font-size: medium; ">Djay</span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><span class="Apple-style-span" style="font-size: medium; ">Just a ZOO Monkey in Dakar</span></div><div><span class="Apple-style-span" style="font-size: medium; "><a href="mailto:gerald.fenoy@geolabs.fr">gerald.fenoy@geolabs.fr</a></span></div></span></div></span></div></div></span>
</div>
<br></body></html>