Re: [OK?] Re: SPARQL: Error handling

On Jan 29, 2006, at 2:51 PM, Dan Connolly wrote:

> [[
> When a SPARQL query string is not a legal sequence of characters in  
> the
> language defined by the SPARQL grammar, this fault message should be
> returned. An HTTP 2xx status code must not be returned.
> ]]
>  -- http://www.w3.org/TR/rdf-sparql-protocol/
>
>
> Hmm... perhaps the mention of HTTP 2xx is a bit of the HTTP concrete
> binding slipping in where we should be speaking of the abstract
> protocol.
>
> Kendall, how about making that
>
>   ... a query Out Message message must not be returned.

The spec already says that; it says clearly that our fault  
propagation model is Fault Replaces Message. So if we say "must  
return MalformedQuery" then that means that "Out Message must not be  
returned".

One change I'd make is something like, s/"An HTTP 2xx status code  
must not be returned."/"In the case of HTTP bindings, an HTTP 2xx  
status code must not be returned."/

Is there any reason to state the fault propagation rule redundantly?

At any rate, in 1.108 I've updated this section in response to this  
discussion.

Cheers,
Kendall
--
You're part of the human race
All of the stars and the outer space
Part of the system again

Received on Sunday, 29 January 2006 23:13:05 UTC