[OSM-dev] Implied XML values

Tom Hughes tom at compton.nu
Mon Jun 9 08:23:52 BST 2008


In message <484C839C.8080508 at xs4all.nl>
        Stefan de Konink <skinkie at xs4all.nl> wrote:

> Currently I have implemented the parsing of the PUT request. Now there 
> are some implied properties. Now I wonder should these values be 
> 'defaulted' by the database or by the instance that adds them?
>
> So for example: a timestamp is not available as attribute, what should 
> happen?

Well in the case of timestamp it's not a case of defaulting - you
must ignore anything the client sends and provide your own value.

Likewise for the user ID.

That has to be done by the application - it can't be done by the
database, at least not without using a trigger.

Tom

-- 
Tom Hughes (tom at compton.nu)
http://www.compton.nu/




More information about the dev mailing list