W3C home > Mailing lists > Public > public-rdf-dawg-comments@w3.org > May 2012

Re: Please allow trailing semicolon (";") after update statement

From: Andy Seaborne <andy.seaborne@epimorphics.com>
Date: Sat, 26 May 2012 14:43:23 +0100
Message-ID: <4FC0DDFB.1030000@epimorphics.com>
To: public-rdf-dawg-comments@w3.org, David Booth <david@dbooth.org>
David,

It is allowed already:

[29]  Update = Prologue ( Update1 ( ';' Update )? )?

'Update' can be empty hence

( ';' <empty> )?

which is a trailing ';'

http://www.sparql.org/update-validator.html

	Andy

On 25/05/12 17:56, David Booth wrote:
> The SPARQL Update syntax currently PROHIBITS a trailing semicolon at the
> end of the last update statement:
>
> [30]  Update  ::=  Prologue ( Update1 ( ';' Update )? )?
>
> although it REQUIRES a semicolon after all other update statements in an
> update operation.  I realize that the semicolon was intended to be a
> separator rather than a terminator, but in practice this restriction
> just becomes a pointless annoyance to users.  Programming language
> designers learned this lesson many years ago.
>
> Please relax this restriction to allow extra semicolons.
>
> Thanks!
>
>
Received on Saturday, 26 May 2012 13:43:56 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 26 May 2012 13:43:56 GMT