Re: SPARQL 1.1 Update: minor inconsistency between text and grammar

On 08/12/11 22:29, Andy Seaborne wrote:
>
>
> On 07/12/11 22:30, Jeen Broekstra wrote:
>>
>> Dear WG,
>>
>> In the SPARQL 1.1 Update spec, section 3
>> (http://www.w3.org/TR/sparql11-update/#updateLanguage) it says the
>> following:
>>
>> "A request is a sequence of operations and is terminated by EOF (End of
>> File). Multiple operations are separated by a ';' (semicolon) character.
>> A semicolon after the last operation in a request is optional. [...]"
>>
>> However, the actual BNF grammar
>> (http://www.w3.org/TR/sparql11-query/#rUpdate) has the following
>> production for an operation sequence:
>>
>> [30] Update ::= Prologue ( Update1 ( ';' Update )? )?
>>
>> So, is a semicolon after the last operation allowed, or not? The text
>> says it is, the grammar says it isn't.
>
> An "Update" can be empty. Prologue can be empty and the whole of the
> rest of it is (...)?

Ah. Apologies. I had not seen that Prologue can be empty. Thanks for 
clarifying, that settles my comment.

Cheers,

Jeen

Received on Thursday, 8 December 2011 21:44:01 UTC