W3C home > Mailing lists > Public > public-rdf-wg@w3.org > March 2011

Re: ISSUE-18: How do we parse "18." in Turtle?

From: Nathan <nathan@webr3.org>
Date: Wed, 30 Mar 2011 21:40:30 +0100
Message-ID: <4D93953E.7070108@webr3.org>
To: Peter Frederick Patel-Schneider <pfps@research.bell-labs.com>
CC: andy.seaborne@epimorphics.com, sandro@w3.org, public-rdf-wg@w3.org
Peter Frederick Patel-Schneider wrote:
> From: Andy Seaborne <andy.seaborne@epimorphics.com>
> Subject: Re: ISSUE-18: How do we parse "18." in Turtle?
> Date: Wed, 30 Mar 2011 14:51:57 -0500
> [...]
> 
>> By the way, this is not the only place that "longest token" is important:
>>
>> { :x :p18. }
>>
>> is that ":p1 8."  or ":p 18" or ":p18" and an error?  That has not been 
>> a practical issue raised.
> 
> Where is this legal in Turtle at all?

The Turtle grammar doesn't require any whitespace between the verb and 
objectList - it has hardly any whitespace requirements other than the 
note "White space (production ws) is used to separate two tokens which 
would otherwise be (mis-)recognized as one token.", which is open to 
interpretation of course.
Received on Wednesday, 30 March 2011 20:41:37 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:04:04 UTC