W3C home > Mailing lists > Public > www-archive@w3.org > July 2002

Minus sign in ids Was: Alternative N3 Parsers for CWM

From: Tim Berners-Lee <timbl@w3.org>
Date: Mon, 15 Jul 2002 11:03:29 -0400
Message-ID: <01f901c22c10$c8330180$84001d12@w3.org>
To: "Dan Connolly" <connolly@w3.org>, "Aaron Swartz" <me@aaronsw.com>
Cc: <www-archive+n3bugs@w3.org>, "Sean B. Palmer" <sean@mysterylights.com>

Hmmmm...   Are you  *sure* you don't want to be able to write "x-1"?

{ y > x+1} => x a foo:Interesting}.

Note that currently   x-1  as an XML name becomes x__1 in n3.

Tim


----- Original Message -----
From: "Aaron Swartz" <me@aaronsw.com>
To: "Dan Connolly" <connolly@w3.org>
Cc: <www-archive+n3bugs@w3.org>; "Tim Berners-Lee" <timbl@w3.org>; "Sean B.
Palmer" <sean@mysterylights.com>
Sent: Monday, July 08, 2002 10:53 AM
Subject: Re: Alternative N3 Parsers for CWM


> On Monday, July 8, 2002, at 08:19  AM, Dan Connolly wrote:
>
> >> I've run retest.sh, and 15/51 of the tests pass. Only
> >> /test/includes/t10.n3
> >> gives a syntax error (warranted: a hyphen is used illegally as a name
> >> character).
> >
> > Ugh... I'm using hyphens as name characters more and more;
> > they're not allowed?
>
> I agree that this is a silly restraint and is best removed. The
> reasoning I heard is that they wanted to be used for subtraction, but we
> already have math: for that and they would be surrounded by spaces
> anyway.
> --
> Aaron Swartz [http://www.aaronsw.com]
> 4FAC4838B7D8D13FA6D92EDB4145521E79F0DF4B
>
Received on Monday, 15 July 2002 11:03:40 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 7 November 2012 14:17:18 GMT