<span style=""><span style="background-color: rgb(255, 255, 0);"></span></span>Thanks Oliver,<br>I update to 440 trunk version<br>(I use ubuntu 10.10 version)<br><br>Now it seems that the validation problem is fixed in retrieving layer but it still remains when i try to update geometry.<br>
<br>I have this in firebug (by the way now no report in log file for this error, just in firebug)<br><br><br>Object { layer={...}, data={...}, more...}<br>fine modifica item: OpenLayers.Feature.Vector_149<br>POST <a href="http://gorla.local/cgi-bin/proxy.cgi?url=http%3A%2F%2Fgorla.local%2Fcgi-bin%2Ftinyows_gorla_cdu">http://gorla.local/cgi-bin/proxy.cgi?url=http%3A%2F%2Fgorla.local%2Fcgi-bin%2Ftinyows_gorla_cdu</a><br>
POST <a href="http://gorla.local/cgi-bin/proxy.cgi?url=http%3A%2F%2Fgorla.local%2Fcgi-bin%2Ftinyows_gorla_cdu">http://gorla.local/cgi-bin/proxy.cgi?url=http%3A%2F%2Fgorla.local%2Fcgi-bin%2Ftinyows_gorla_cdu</a><br>        <br>200 OK<br>
                66ms        <br>OpenLa...10.js?V (riga 1188)<br>ParametriIntestazioniPostPutRispostaCacheHTMLXML<br><br>&lt;?xml version=&#39;1.0&#39; encoding=&#39;UTF-8&#39;?&gt;<br>&lt;ExceptionReport<br> xmlns=&#39;<a href="http://www.opengis.net/ows">http://www.opengis.net/ows</a>&#39;<br>
 xmlns:xsi=&#39;<a href="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance</a>&#39;<br> xsi:schemaLocation=&#39;<a href="http://www.opengis.net/ows">http://www.opengis.net/ows</a> <a href="http://schemas.opengis.net/ows/">http://schemas.opengis.net/ows/</a><span style="background-color: rgb(255, 255, 0);">1.0.0</span>/owsExceptionReport.xsd&#39;<br>
 version=&#39;1.0.0&#39; language=&#39;en&#39;&gt;<br> &lt;Exception exceptionCode=&#39;InvalidParameterValue&#39; locator=&#39;Update&#39;&gt;<br>  &lt;ExceptionText&gt;Typename provided is unknown or not writable&lt;/ExceptionText&gt;<br>
 &lt;/Exception&gt;<br>&lt;/ExceptionReport&gt;<br><br>it seems that use protocol 1.0.0 but in openlayers file I usr 1.1.0<br>    vParticelle= new OpenLayers.Layer.Vector(&quot;Edit&quot;, {<br>        styleMap:            oStyleMap,<br>
        strategies:            [new OpenLayers.Strategy.BBOX(), oSaveStrategy],<br>        filter:                new OpenLayers.Filter.Comparison({type: OpenLayers.Filter.Comparison.EQUAL_TO,property:&#39;selected&#39;,value:1}),<br>
        projection:            new OpenLayers.Projection(&quot;EPSG:3003&quot;),<br>        extractAttributes:    false, //default false, if true attributes are available in the attributes<br>        protocol:            new OpenLayers.Protocol.WFS({<br>
            version:        &quot;1.1.0&quot;,<br>            url:            &#39;http://&#39;+HOST+&#39;/cgi-bin/tinyows_gorla_cdu&#39;,<br>            featureType:    &quot;sitparticellecdu&quot;,  // la tabella postgis lo srid deve corrispondere e deve avere la chiave primaria<br>
            featureNS:        &quot;<a href="http://127.0.0.1">http://127.0.0.1</a>&quot;,<br>            srsName:        &quot;EPSG:3003&quot;, // non lasciare spazi dopo i &quot;:&quot;<br>            geometryName:    &quot;the_geom&quot;,<br>
            schema:            &#39;http://&#39;+HOST+&#39;/cgi-bin/tinyows_gorla_cdu?service=WFS&amp;request=DescribeFeatureType&amp;version=1.1.0&amp;TypeName=sitparticellecdu&#39;<br>        })<br>    });<br><br><br>function saveFeature() {<br>
    var oFeature = getSelectedFeat();<br>    if (oFeature &amp;&amp; (oFeature.state != OpenLayers.State.INSERT)) { oFeature.state = OpenLayers.State.UPDATE; }<br>    if (oFeature) { <br>        switch(oFeature.layer.protocol.CLASS_NAME) {<br>
            case &quot;OpenLayers.Protocol.HTTP&quot;:<br>                oFeature.layer.protocol.commit([oFeature], {<br>                    &quot;update&quot;: { callback: onUpdate(response) },<br>                    &quot;create&quot;: { callback: onCreate(response) },<br>
                    &quot;delete&quot;: { callback: onDelete(response) }<br>                });<br>                break;<br>            case &quot;OpenLayers.Protocol.WFS.v1_1_0&quot;:<br>                console.log(oFeature);<br>
                oSaveStrategy.save([oFeature]);<br>                break;<br>            default:<br>        }<br>        oModifyPolCtrl.selectControl.unselect(oFeature);<br>    }<br>}<br><br>tinyows_gorla_cdu is just this bash script<br>
#!/bin/sh<br>TINYOWS_CONFIG_FILE=/home/www/dati/gorla/mapfiles/tinyows_config_cdu.xml<br>export TINYOWS_CONFIG_FILE<br>/usr/lib/cgi-bin/tinyows<br><br>and call the same .xml file is it still correct in new version?<br><br>
<br>thnks again <br><br>luca<br><br>luca marletta<br><a href="http://www.beopen.it">www.beopen.it</a><br><br><br><br>On Sat, Apr 16, 2011 at 2:28 PM, Olivier Courtin &lt;<a href="mailto:olivier.courtin@gmail.com">olivier.courtin@gmail.com</a>&gt; wrote:<br>
&gt;<br>&gt; On Apr 16, 2011, at 1:14 PM, Olivier Courtin wrote:<br>&gt;<br>&gt;&gt; There&#39;s few things if found a bit strange:<br>&gt;&gt; - You&#39;re config show check_shema to 0, so you should skip the schema<br>&gt;&gt; validation step<br>
&gt;<br>&gt; After a look at the relevant code, check_schema was only focused on<br>&gt; WFS request,  but not the FE part.<br>&gt; It&#39;s now fixed as r432.<br>&gt;<br>&gt;<br>&gt; But it doesn&#39;t explain why your FE schema was&#39;nt found.<br>
&gt;<br>&gt; --<br>&gt; Olivier<br>&gt; _______________________________________________<br>&gt; TinyOWS-users mailing list<br>&gt; <a href="mailto:TinyOWS-users@lists.maptools.org">TinyOWS-users@lists.maptools.org</a><br>
&gt; <a href="http://lists.maptools.org/mailman/listinfo/tinyows-users">http://lists.maptools.org/mailman/listinfo/tinyows-users</a><br>&gt;<br><br>