[mapserver-users] [TinyOWS] Inserting feature and XML schema validation

Olivier Courtin olivier.courtin at gmail.com
Mon Nov 19 04:48:20 PST 2012


Hi Timur,

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

You noticed also this one ^^


> 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:
>

#19 introduced that namespaces are also to be checked from Typename
parameter.
(prior (wrong) behaviour was just to ignore namespace prefix)



> [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?
>

Should be only <layer.name>.<entity-integer-id>  (as ever)

Could you confirm that you are using current trunk version or 1.1.0 ?

-- 
Olivier
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20121119/045ee446/attachment.html>


More information about the mapserver-users mailing list