On Wed, Feb 27, 2008 at 5:57 PM, Tobias Bocanegra (JIRA)
<[EMAIL PROTECTED]> wrote:

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

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.

-Bertrand

Reply via email to