<div dir="ltr">Hi Gerald<div><br></div><div>Thanks for your example this works in my installation, (revision 513) </div><div><br></div><div>Attached two examples: one that works and the other does not. The difference in the two is that one has the CDATA object and the other not. Maybe you can run?<br></div><div><br></div><div>Thanks</div><div><br></div><div>Pablo</div><div><br></div><div><br></div><div><br></div><div><br></div><div class="gmail_extra"><br><div class="gmail_quote">2015-08-16 21:15 GMT-03:00 Fenoy Gerald <span dir="ltr"><<a href="mailto:gerald.fenoy@geolabs.fr" target="_blank">gerald.fenoy@geolabs.fr</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Pablo,<br>
this should work properly.<br>
<br>
Please try with the example included in the files attached to this email:<br>
 * tmp.xml is the request to send to your server<br>
 * test.py is a python file installed in the vector-tools sub-directory of the location of your ZOO-Kernel<br>
 * demo.zcfg which is the required ZCFG file (in the same vector-tools sub-directory)<br>
<br>
You can run the example by running the following command:<br>
<br>
curl -H "Content-Type: text/xml" -d @tmp.xml <a href="http://localhost/cgi-bin/zoo_loader.cgi" rel="noreferrer" target="_blank">http://localhost/cgi-bin/zoo_loader.cgi</a><br>
<br>
It should work properly, in other case please, please give me information about the ZOO-Kernel version you use.<br>
<br>
Hope this helps.<br>
Best regards,<br>
<br>
<br><br>
<br>
> Le 17 août 2015 à 01:48, pablo zader <<a href="mailto:pzader@gmail.com">pzader@gmail.com</a>> a écrit :<br>
><br>
> Hi list<br>
><br>
> Why ZOO doesn't support CDATA element  inside Complex Data?<br>
> For example:<br>
><br>
>  <wps:ComplexData mimeType="application/json"><![CDATA[{"type":"Feature","properties":{},"geometry":{"type":"Polygon","coordinates":[[[-7100324.4671436,-3204058.4836596],[-6400772.7843751,-3194274.5440405],[-6405664.7541847,-3600308.0382348],[-7320463.1085743,-3732391.2230932],[-7393842.6557179,-3282330.0006128],[-7100324.4671436,-3204058.4836596]]]},"crs":{"type":"name","properties":{"name":"EPSG:102113"}}}]]></wps:ComplexData><br>
><br>
> Removing CDATA, zoo works well.<br>
><br>
>  <wps:ComplexData mimeType="application/json">{"type":"Polygon","coordinates":[[[-7100324.4671436,-3204058.4836596],[-6400772.7843751,-3194274.5440405],[-6405664.7541847,-3600308.0382348],[-7320463.1085743,-3732391.2230932],[-7393842.6557179,-3282330.0006128],[-7100324.4671436,-3204058.4836596]]]}></wps:ComplexData><br>
><br>
> Thanks<br>
> Pablo<br>
><br>
><br>
> _______________________________________________<br>
> Zoo-discuss mailing list<br>
> <a href="mailto:Zoo-discuss@lists.osgeo.org">Zoo-discuss@lists.osgeo.org</a><br>
> <a href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/zoo-discuss" rel="noreferrer" target="_blank">http://lists.osgeo.org/cgi-bin/mailman/listinfo/zoo-discuss</a><br>
<br>
<br>
<br>
Gérald Fenoy<br>
<a href="http://wiki.osgeo.org/wiki/User:Djay" rel="noreferrer" target="_blank">http://wiki.osgeo.org/wiki/User:Djay</a><br>
<br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div dir="ltr"><br></div></div></div>
</div></div>