<div dir="ltr">Hi, sorry /me at company's code sprint, takes longer to switch the focus<br><br>As Jorge writes, I tried to follow the principle we introduced for ComplexData (as described by Jorge). You have to make sure, the string is at least number/date/string/time/..... so you have to validate. Although 4 validation steps are a bit overkill (Simple to Strict would be ok)<div><br></div><div>Same applies for BBOX. I think checking e.g. whether the avalues are between -90, 90 and -180, 180 for WGS84 makes sense</div><div><br></div><div>J </div></div><br><div class="gmail_quote">st 15. 4. 2015 v 16:48 odesílatel Luís de Sousa <<a href="mailto:luis.a.de.sousa@gmail.com">luis.a.de.sousa@gmail.com</a>> napsal:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thanks for replying Jorge. Quite frankly I do not remember what was<br>
decided on this last year, but what you wrote makes all the sense.<br>
<br>
Cheers,<br>
<br>
Luís<br>
<br>
On 14 April 2015 at 17:18, Jorge Samuel Mendes de Jesus<br>
<<a href="mailto:jorge.mendesdejesus@wur.nl" target="_blank">jorge.mendesdejesus@wur.nl</a>> wrote:<br>
> Hi to all<br>
><br>
> This sort of validation was decided in a meeting in Lux, the data<br>
> validation is more or less a schema content validation and/or image<br>
> mimetype, I think the default option was NONE (Jachym?, Luis?)<br>
><br>
> According to the level of validation, PyWPS has to raise an<br>
> invalidParameterValue<br>
><br>
> For example<br>
> in SIMPLE:<br>
> XML OK  --> No error<br>
><br>
> STRICT:<br>
> XML OK + OK Schema validation -->No error<br>
><br>
> STRICT:<br>
> XML OK + BAD Schema validation -->InvalidParameterValue<br>
><br>
> VERYSTRICT:<br>
> XML OK + OK Schema validation+ UTF etc etc --> No error<br>
><br>
> Jorge<br>
><br>
> On 14-04-15 14:40, Calin Ciociu wrote:<br>
>> Hello everyone,<br>
>><br>
>><br>
>> Validators are currently not being used and there are 4 different modes:<br>
>><br>
>> * NONE<br>
>> * SIMPLE<br>
>> * STRICT<br>
>> * VERYSTRICT<br>
>><br>
>> So I was wondering how exactly does the data have to be validated?<br>
>><br>
>> Which mode should be used when?<br>
>><br>
>> As far as I understood the data is supposed to be validated after<br>
>> fetching the data.<br>
>><br>
>> Should PyWPS raise an InvalidParameterValue if the data cant be<br>
>> validated?<br>
>><br>
>><br>
>> Calin<br>
>> _______________________________________________<br>
>> pywps-dev mailing list<br>
>> <a href="mailto:pywps-dev@lists.osgeo.org" target="_blank">pywps-dev@lists.osgeo.org</a><br>
>> <a href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/pywps-dev" target="_blank">http://lists.osgeo.org/cgi-bin/mailman/listinfo/pywps-dev</a><br>
><br>
> --<br>
> ISRIC - World Soil Information<br>
> Post: PO box 353, 6700 AJ, Wageningen,<br>
> The Netherlands Visiting Address: Droevendaalsesteeg 3, 6708 PB<br>
> Wageningen (Bdg. 101),<br>
> Office: C.013<br>
> Office Phone: +31 (0) 317 4 83715<br>
> Mobile Phone: +31 (0) 613 9 06950<br>
> OpenPGPKey: 0xA3D0065A<br>
><br>
> _______________________________________________<br>
> pywps-dev mailing list<br>
> <a href="mailto:pywps-dev@lists.osgeo.org" target="_blank">pywps-dev@lists.osgeo.org</a><br>
> <a href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/pywps-dev" target="_blank">http://lists.osgeo.org/cgi-bin/mailman/listinfo/pywps-dev</a><br>
_______________________________________________<br>
pywps-dev mailing list<br>
<a href="mailto:pywps-dev@lists.osgeo.org" target="_blank">pywps-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/pywps-dev" target="_blank">http://lists.osgeo.org/cgi-bin/mailman/listinfo/pywps-dev</a></blockquote></div>