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

Re: Checking: Turtle grammar / N-Triples Grammar

From: Eric Prud'hommeaux <eric@w3.org>
Date: Wed, 16 May 2012 15:01:30 -0400
To: Andy Seaborne <andy.seaborne@epimorphics.com>
Cc: RDF-WG <public-rdf-wg@w3.org>
Message-ID: <20120516190129.GG3282@w3.org>
* Andy Seaborne <andy.seaborne@epimorphics.com> [2012-05-16 15:29+0100]
> > Does that grammar look good to you?
> 
> I took that mesage to be reporting to the WG.

Yeah, I should have found some time to bring that into the Turtle spec before someone (you) reviewed. Sorry!

> I was reviewing the doc to be put to the WG in case that helped.
> 
> > Note a challenge to IRIREF below.
> 
> >[[
> >   Simplified IRIREF from
> >    [132s] IRIREF ::= ('<' ([^<>"{}|^`\]-[#x00-#x20])* | UCHAR '>')
> >   to
> >    [132s] IRIREF ::=  '<' ([^#x00-#x20<>\"{}|^`\\] | UCHAR)* '>'
> >   (#sec-notation doesn't tell me the precedence of A | B - c)
> >]]
> 
> The key is that UCHAR was outside the * so the token rule is wrong.
> 
> Your:
> 
> '<' ([^#x00-#x20<>\"{}|^`\\] | UCHAR)* '>'
> 
> fixes that.

yeah, this should also remind us to make sure there are tests for UCHARs in the test suite. that would have been an embarassing erratum.

> 	Andy

-- 
-ericP
Received on Wednesday, 16 May 2012 19:02:05 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 16:25:49 GMT