<div dir="ltr">Hi all,<div><br></div><div>today, I managed to introduce first stable version of "validators" to PyWPS-4</div><div><br></div><div>Each Input nad Output has format assinged</div><div><br></div><div>Each Format is of special type (either mimeType (like GML) or data type (like Float))</div><div><br></div><div>Each format can have validator assinged - I implemented default validators for GML, Shapefile and JSON.</div><div><br></div><div>Each Input can set, how strict should the validator be (mode = NONE, Simple, Strict, VeryStrict)</div><div><br></div><div>Example:</div><div><div>ComplexInput('poly_in', 'Input1',</div><div>                  supported_formats=[Format('application/gml+xml')],</div><div>                  mode=MODE.STRICT)</div></div><div><br></div><div>Will expect one possible format - GML (validator is assigned automatically) and will be validating using STRICT mode - in this case, OGR will be used (no XML schema check)</div><div><br></div><div>This introduces new level of *<b>security*</b> and consistency to PyWPS-4</div><div><br></div><div>It was also one of the biggest tasks on my TODO list, on the way to PyWPS-4 stable version.</div><div><br></div><div>Next topics will follow: <a href="https://github.com/jachym/pywps-4/milestones/PyWPS%204.0.0%20stable%20version">https://github.com/jachym/pywps-4/milestones/PyWPS%204.0.0%20stable%20version</a></div><div><br></div><div>Check our code: <a href="https://github.com/jachym/pywps-4">https://github.com/jachym/pywps-4</a> </div><div>Travis unit tests: <a href="https://travis-ci.org/jachym/pywps-4">https://travis-ci.org/jachym/pywps-4</a></div><div>Travis integration tests: <a href="https://travis-ci.org/PyWPS/pywps-4-demo">https://travis-ci.org/PyWPS/pywps-4-demo</a></div><div><br></div><div>Jachym</div><div><br></div></div>