>  >  ...well i agree in general. but in case of the delete, there is no error 
> thrown if the element does not exist.
>
> >  so imo a namespace exception of a missing prefix is comparable to the item 
> > not found.
>  >
>  >  eg: deleting /foo/bar/not_exsiting
>
> >  vs: deleting /foo/bar/my:not_existing  (if 'my' namespace not defined)...
>
>  Ok about being consistent, but maybe deleting something that does not
>  exist should be an error as well?
no, i think not. the ujax post servlet is mainly used in a scripting
env. and if you want to delete something you just care that it is
removed afterwards. if it existed or not beforehand does not matter.

>  As a general rule, I think the ujax post servlet should return HTTP
>  error statuses, and rollback changes, whenever something goes wrong,
>  and it's up to the client to decide if they want to ignore those
>  errors or not.
you are right, of course.

-- 
-----------------------------------------< [EMAIL PROTECTED] >---
Tobias Bocanegra, Day Management AG, Barfuesserplatz 6, CH - 4001 Basel
T +41 61 226 98 98, F +41 61 226 98 97
-----------------------------------------------< http://www.day.com >---

Reply via email to