RE: error handling, was: Comments on search-00 draft

> Is there any requirement to marshall search results and error
> messages in
> the same body? I'd rather prefer to keep those separated
> (*if* we are ging
> to change the error formats).

If by "error messages" you include the kind of error message like "search
results incomplete", then yes.  I believe the same response body that
contains the first N <DAV:response> elements should also contain a
*different* element stating that the results were incomplete and the result
set was truncated by the server.

There may also be a need to report that the results were incomplete and the
result set was truncated at the choice of the client (isn't there a limit
set in the client request?)  That's important so the client knows the
difference between receiving 10 results because there were >10 but only 10
were asked for, and receiving 10 results because there were only exactly 10
results and it just happens that 10 were asked for.

Lisa

Received on Friday, 29 March 2002 12:29:41 UTC