Hello, Olivier!

XML validation is such issue-rich subject, so I have another question 
considering it :).

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:

[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'.

Is '<ns-uri>:<layer-name>.<entity-integer-id>' a new feature-id by design or 
something went wrong?

Best regards,
Timur Sufiev
  _____  

From: Olivier Courtin [mailto:[email protected]]
To: [email protected]
Sent: Fri, 16 Nov 2012 14:35:59 +0300
Subject: Re: [mapserver-users] [TinyOWS] Inserting feature and XML schema 
validation

On Fri, Nov 16, 2012 at 12:32 PM, Тимур Галиаскарович Суфиев <[email protected]> 
wrote:

      
  I found the problem (just in case it may be useful for someone): wfs layers 
in Javascript were using 

featureNS: "http://www.tinyows.org";

while all layers in tinyows.xml used 
  
ns_uri="http://www.tinyows.org/";

Every symbol matters in deciding whether xml namespaces are the same, so adding 
trailing slash to Javascript solved my issue.
  


Thanks Timur to post, for the record, your own answer !


And yes as it's an URI (and not a URL) every symbol matters...



  
Cheers,
 -- 
Olivier
    
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to