[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Handling unknown elements in an entry
--- Joe Gregorio <joe.gregorio@xxxxxxxxx> wrote:
>
>
> > If the client was intentionally trying to delete
> the extension, that's
> > exactly what it would do, isn't it?
>
> Or should it return the entry with the element
> empty? I think
> that would more clearly show the intention.
It depends on the type of the element. If the server
is using an XSD schema on the backend then some
elements with simple types (e.g. numeric values or
dates) would be considered invalid if they were empty.
THINGS TO DO IF I BECOME AN EVIL OVERLORD #222
I reserve the right to execute any henchmen who appear to be a little too intelligent, powerful, or devious. However if I do so, I will not at some subsequent point shout "Why am I surrounded by these incompetent fools?!"
__________________________________
Do you Yahoo!?
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/