W3C home > Mailing lists > Public > public-rdf-comments@w3.org > March 2013

probable missing turtle test

From: Jeremy J Carroll <jjc@syapse.com>
Date: Fri, 29 Mar 2013 11:39:34 -0700
Message-Id: <95C49BB7-EBBD-4938-8976-889EA9772CB8@syapse.com>
To: public-rdf-comments@w3.org

I believed I was using a turtle parser compliant with
http://www.w3.org/TR/2013/CR-turtle-20130219/

and the legal input I passed it caused an incorrect error to be raised, this suggests that the WG may not have a test for a specific case, i.e.:

===
@prefix vcf: <http://vcf.org#> .
@prefix my: <http://my.vcf.org#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs:   <http://www.w3.org/2000/01/rdf-schema#> .
my:file
vcf:fileformat "VCFv4.1";
vcf:reference "GRCh37";
.
my:LDAF rdf:type rdf:Property;
 rdfs:domain vcf:Variant;
 vcf:num 1;
vcf:type "Float";
vcf:desc "MLE Allele Frequency Accounting for LD";
;
.
===

The problem is the ; ; . at the end. Legal but strange.

Please add a test to your test suite that checks for more than one unnecessary ; in this production.

===

This comment need not be treated as a formal comment, specifically I do not need a response


Jeremy J Carroll
Principal Architect
Syapse, Inc.
Received on Friday, 29 March 2013 18:40:02 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:29:55 UTC