W3C home > Mailing lists > Public > public-rdf-dawg-comments@w3.org > July 2005

Re: SPARQL: Error handling

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Fri, 22 Jul 2005 04:01:14 +0200
To: Dan Connolly <connolly@w3.org>
Cc: public-rdf-dawg-comments@w3.org
Message-ID: <43265240.232080796@smtp.bjoern.hoehrmann.de>

* 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
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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:52:06 UTC