On Wed, Sep 19, 2012 at 4:47 PM, Rahkonen Jukka <span dir="ltr"><<a href="mailto:Jukka.Rahkonen@mmmtike.fi" target="_blank">Jukka.Rahkonen@mmmtike.fi</a>></span> wrote:<br><div class="gmail_quote"><div><br></div><div>
Hi Jukka</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="FI" link="blue" vlink="purple"><div><p class="MsoNormal"></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">I wonder why OpenLayers is sending request for wfs:Query typeName="feature:areas" while I suppose that the typeName is actually mtl:areas.  </span></p>
</div></div></blockquote><div><br></div><div>Dunno either, but request is valid as they define namespace:</div><div><span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">xmlns:feature="</span><a href="http://gis.mediatel.co.uk/" target="_blank" style="color:rgb(17,85,204);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">http://gis.mediatel.co.uk</a><span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">" in the Query.</span></div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="FI" link="blue" vlink="purple"><div><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">However,
 it looks like TinyOWS does not care about featuretype namespace at all.  </span></p></div></div></blockquote><div><br></div><div>Well TinyOWS care about namespace with POST request</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="FI" link="blue" vlink="purple"><div><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> This request works as it should<u></u><u></u></span></p>

<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><a href="http://188.64.1.61/cgi-bin/tinyows?service=WFS&version=1.1.0&request=GetFeature&typeName=lv:mml_paikannimet20&maxFeatures=20" target="_blank">http://188.64.1.61/cgi-bin/tinyows?service=WFS&version=1.1.0&request=GetFeature&typeName=lv:mml_paikannimet20&maxFeatures=20</a><u></u><u></u></span></p>


<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">However, query finds also a non-existing featuretype foo:mml_paikannimet20<u></u><u></u></span></p>


<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><a href="http://188.64.1.61/cgi-bin/tinyows?service=WFS&version=1.1.0&request=GetFeature&typeName=foo:mml_paikannimet20&maxFeatures=20" target="_blank">http://188.64.1.61/cgi-bin/tinyows?service=WFS&version=1.1.0&request=GetFeature&typeName=foo:mml_paikannimet20&maxFeatures=20</a></span></p>
</div></div></blockquote><div><br></div><div><br></div><div>But as you could seen, a bit less with GET request !</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="FI" link="blue" vlink="purple"><div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Somehow I feel this is a bug.</span></p></div></div></blockquote><div><br></div><div><br>
</div><div>Could worth to open a ticket, to be more strict on GET Namespace.</div><div>But i don't think this behaviour is related to Richard issue.</div><div><br></div><div>And the only way to help Richard further is to have a TinyOWS log</div>
<div>from his issue...  </div><div><br></div></div><div><br></div>-- <br>Olivier<br>