W3C home > Mailing lists > Public > public-rdf-dawg-comments@w3.org > January 2006

Re: SPARQL: Backslashes in string literals [OK?]

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Sun, 29 Jan 2006 03:17:48 +0100
To: andy.seaborne@hp.com
Cc: public-rdf-dawg-comments@w3.org
Message-ID: <r79ot1lkprij7hadde3sbjll397v151pp8@hive.bjoern.hoehrmann.de>

* Seaborne, Andy wrote:
>>   http://www.w3.org/TR/2005/WD-rdf-sparql-query-20050721/ does not seem
>> to define what it means if a string literal includes a backslash though
>> that is allowed by the EBNF. Please add normative prose and an example
>> defining and demonstrating proper use of backslashes in string literals.
>> See also <http://www.w3.org/TR/charmod/#sec-Escaping>.

>The working group has agreed the text in sections A.5 and A.6 of the SPARQL 
>grammar section A in the editors' working draft [1] in response to your 
>comment.  The grammar also includes productions to put such escape sequences 
>in strings.

>[1] http://www.w3.org/2001/sw/DataAccess/rq23/#grammar

I raised the remaining issues wrt to this in the Unicode issue. I would
have preferred to use the \xXX / \x{....} style escapes like they are
available in RELAX NG Compact Syntax, Perl and others, but well... I
think this issue can be considered closed, thanks.
-- 
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 Sunday, 29 January 2006 02:16:59 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:14:50 GMT