<!DOCTYPE html PUBLIC '-//W3C//DTD HTML 4.01 Transitional//EN'>
<html><head><meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<style>BODY{font:10pt Tahoma,Verdana,sans-serif} .MsoNormal{line-height:120%;margin:0}</style></head><body>
Hello, Olivier!<br><br>XML validation is such issue-rich subject, so I have another question considering it :).<br><br>Recent TinyOWS commits (from 1st Nov till 13th, I don't know which one exactly is responsible) introduced some changes to feature ids naming, now I have the following error on features update/delete from OpenLayers:<br><br>[Mon Nov 19 16:03:30 2012] [ERROR] Element '{http://www.opengis.net/ogc}FeatureId', attribute 'fid': 'http://www.tinyows.org/:cities.719' is not a valid value of the atomic type 'xs:ID'.<br><br>Is '<ns-uri>:<layer-name>.<entity-integer-id>' a new feature-id by design or something went wrong?<br><br>Best regards,<br>Timur Sufiev<br><blockquote style="padding-left: 5px; margin-left: 5px; border-left: #0000ff 2px solid; margin-right: 0px"><hr><b>From:</b> Olivier Courtin [mailto:olivier.courtin@gmail.com]<br><b>To:</b> mapserver-users@lists.osgeo.org<br><b>Sent:</b> Fri, 16 Nov 2012 14:35:59 +0300<br><b>Subject:</b> Re: [mapserver-users] [TinyOWS] Inserting feature and XML schema   validation<br><br>On Fri, Nov 16, 2012 at 12:32 PM, Тимур Галиаскарович Суфиев <span><<a href="mailto:t.sufiev@acti.ru">t.sufiev@acti.ru</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<u></u>

<div>
I found the problem (just in case it may be useful for someone): wfs layers in Javascript were using <br><br>featureNS: "<a href="http://www.tinyows.org">http://www.tinyows.org</a>"<br><br>while all layers in tinyows.xml used <br>
<br>ns_uri="<a href="http://www.tinyows.org/">http://www.tinyows.org/</a>"<br><br>Every symbol matters in deciding whether xml namespaces are the same, so adding trailing slash to Javascript solved my issue.<br>
</div></blockquote><div><br></div><div>Thanks Timur to post, for the record, your own answer !</div><div><br></div><div>And yes as it's an URI (and not a URL) every symbol matters...</div><div><br></div><div><br></div>
<div>Cheers,</div><div> </div></div>-- <br>Olivier<br>
</blockquote><style>
</style>
</body></html>