W3C home > Mailing lists > Public > w3c-sgml-wg@w3.org > May 1997

RE: Link-1: Syntax

From: James K. Tauber <jtauber@jtauber.com>
Date: Sun, 18 May 1997 19:08:39 +0800
Message-ID: <01BC63C0.DA5670E0@cyg101.dialup.uwa.edu.au>
To: "'Tim Bray'" <tbray@textuality.com>, "w3c-sgml-wg@w3.org" <w3c-sgml-wg@w3.org>

HERE could be preceded by a character in the URLchar set other than a Letter or '_' (ie one that can't begin an ID).

HREF="#$HERE" can't mean HREF="#ID($HERE)" for example.

James

-----Original Message-----
From:	Tim Bray [SMTP:tbray@textuality.com]
Sent:	Monday, May 19, 1997 2:38 AM
To:	w3c-sgml-wg@w3.org
Subject:	Link-1: Syntax

We have a botch at the moment in that the hyperlink #HERE is ambiguous,
does it mean the linking element, or does it mean ID(HERE)?  We need to
fix the syntax to solve this.  Solutions I have thought of include:

(1) putting the whole xpointer in parentheses, unless it's just an ID value
    e.g. HREF="#(HERE), or 
(2) requiring that keywords such as HERE always be followed by a comma, 
    even if there's nothing after the comma,
    e.g. HREF="#HERE,"

Any other nice syntax tricks? - Tim


Cheers, Tim Bray
tbray@textuality.com http://www.textuality.com/ +1-604-708-9592
Received on Sunday, 18 May 1997 07:21:05 EDT

This archive was generated by hypermail pre-2.1.9 : Wednesday, 24 September 2003 10:04:33 EDT