Re: SPARQL: Error handling

* Dan Connolly wrote:
>>   http://www.w3.org/TR/2005/WD-rdf-sparql-query-20050721/ seems
>> to be quite unclear about error handling. There is some discussion
>> about handling type errors in 11.2 but that refers to XQuery for
>> the definition of type errors and otherwise just says when they
>> occur, not what implementations must do when they encounter them.
>> 
>> For syntax errors (i.e., queries that do not match the production
>> rules) no error handling seems to be defined either.
>
>Strings that do not match the production rules are not part
>of the SPARQL query language; why would you expect the specification
>to say anything about them?

I expect the specification to define conformance requirements for
implementations and SPARQL implementations will have to deal with
illegal input. This is not uncommon in fact, XML 1.0 for example
defines this in detail. I am not sure why it would be useful to
allow SPARQL implementations to handle illegal input in different
ways but if that is intended, it should be very clear from the
draft.
-- 
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 

Received on Friday, 22 July 2005 02:01:27 UTC