- From: Jeremy J Carroll <jjc@syapse.com>
- Date: Fri, 29 Mar 2013 14:23:36 -0700
- To: Eric Prud'hommeaux <eric@w3.org>
- Cc: public-rdf-comments@w3.org
The developer has pointed out that I was using an out-of-date version of the code, so it looks like my error here. Sorry for false alarm, thanks for checking. Jeremy J Carroll Principal Architect Syapse, Inc. On Mar 29, 2013, at 2:19 PM, Eric Prud'hommeaux <eric@w3.org> wrote: > * Jeremy J Carroll <jjc@syapse.com> [2013-03-29 11:39-0700] >> >> 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. > > I wonder if it was tested with an old test suite. Take a look at the bottom of <https://dvcs.w3.org/hg/rdf/raw-file/default/rdf-turtle/coverage/report.html>. > [[ > repeated semis at end <s> <p> <o> ;; <p2> <o2> . > > ttl: <http://a.example/s> <http://a.example/p1> <http://a.example/o1>;; <http://a.example/p2> <http://a.example/o2> . > > nt: <http://a.example/s> <http://a.example/p1> <http://a.example/o1> . > <http://a.example/s> <http://a.example/p2> <http://a.example/o2> . > > repeated semis not at end <s> <p> <o> ;;. > > ttl: <http://a.example/s> <http://a.example/p1> <http://a.example/o1>;; . > > nt: <http://a.example/s> <http://a.example/p1> <http://a.example/o1> . > ]] > > It shows that I was super-vigilant about coverage and kind of a dork about naming ("not at end" vs. "at end"). > We have a WG decision to publish the test suite as final. I wonder if I get to fix those names before we do that. > > >> === >> >> This comment need not be treated as a formal comment, specifically I do not need a response >> >> >> Jeremy J Carroll >> Principal Architect >> Syapse, Inc. >> >> >> >> > > -- > -ericP
Received on Friday, 29 March 2013 21:24:09 UTC