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

Re: Checking: Turtle grammar / N-Triples Grammar

From: Andy Seaborne <andy.seaborne@epimorphics.com>
Date: Wed, 16 May 2012 15:29:06 +0100
Message-ID: <4FB3B9B2.9030107@epimorphics.com>
To: Eric Prud'hommeaux <eric@w3.org>
CC: RDF-WG <public-rdf-wg@w3.org>
 > Does that grammar look good to you?

I took that mesage to be reporting to the WG.

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.

	Andy
Received on Wednesday, 16 May 2012 14:29:38 GMT

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