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

Re: Incorrect Update Syntax Tests

From: Rob Vesse <rvesse@yarcdata.com>
Date: Mon, 22 Oct 2012 16:07:34 +0000
To: Andy Seaborne <andy.seaborne@epimorphics.com>, "public-rdf-dawg-comments@w3.org" <public-rdf-dawg-comments@w3.org>
Message-ID: <C0B6979A3CA668458B697E4EA907CA940A03FE8F@CFWEX01.americas.cray.com>
My apologies, seems some of our local copy of the test suite was somewhat
out of date

The WG can disregard this comment

Thanks,

Rob

On 10/22/12 5:44 AM, "Andy Seaborne" <andy.seaborne@epimorphics.com> wrote:

>
>
>On 19/10/12 18:06, Rob Vesse wrote:
>> In reviewing the latest state of the test suite I've spotted a couple of
>> tests that appear to be incorrect
>>
>>   * syntax-update-1/syntax-update-bad-02.ru
>>   * syntax-update-1/syntax-update-bad-03.ru
>
>Are we looking at the same thing:
>
>I see:
>syntax-update-1/syntax-update-bad-02.ru ==>
>http://www.w3.org/2009/sparql/docs/tests/data-sparql11/syntax-update-1/syn
>tax-update-bad-02.ru
>
>-----
># Typo in keyword.
>CREATE DEAFULT
>-----
>
>and syntax-update-1/syntax-update-bad-03.ru ==>
>http://www.w3.org/2009/sparql/docs/tests/data-sparql11/syntax-update-1/syn
>tax-update-bad-03.ru
>
>-----
># Variable in data.
>DELETE DATA { ?s <p> <o> }
>-----
>
>both of which are bad syntax.
>
>	Andy
>
>>
>> Both of these tests are negative syntax tests checking for a prologue
>> only update being forbidden, according to the current grammar a prologue
>> only update is acceptable.  I did some digging and the grammar which
>> forbade this was last present in the Oct 2010 working draft.  The May
>> 2011 working draft changed the grammar to allow for prologue only
>> updates and prologue only updates have been allowed by all subsequent
>> drafts.
>>
>> Please can the working group change these tests to be positive syntax
>> tests to reflect the fact that the grammar now permits this
>>
>> Regards,
>>
>> Rob Vesse
>
Received on Monday, 22 October 2012 16:10:15 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 22 October 2012 16:10:15 GMT