W3C home > Mailing lists > Public > public-rdf-in-xhtml-tf@w3.org > December 2005

RE: Another problem with leading digits

From: Misha Wolf <Misha.Wolf@reuters.com>
Date: Wed, 14 Dec 2005 15:59:47 +0000
Message-ID: <T753667ecf20a01f01c1fe0@lonsmime04.rit.reuters.com>
To: Chris Croome <chris@webarchitects.co.uk>
Cc: public-rdf-in-xhtml-tf@w3.org

Ah ... I hadn't spotted that and the relevant section of the 
HTML spec doesn't link to it.

In any event, the problem stays the same.

Misha


-----Original Message-----
From: Chris Croome [mailto:chris@webarchitects.co.uk] 
Sent: 14 December 2005 15:27
To: Misha Wolf
Cc: public-rdf-in-xhtml-tf@w3.org; newsml-2@yahoogroups.com
Subject: Re: Another problem with leading digits

Hi

On Wed 14-Dec-2005 at 02:08:43PM +0000, Misha Wolf wrote:
> 
> If the string "15093000" were to act as a fragment identifier within a
> Web page and if the fragment were to be identified by an attribute
> conforming to the XML attribute type 'ID', then this would be illegal,
> due to the leading digit.
> 
> HTML 4 appears to have no such constraint. 

I think it does:

  # ID and NAME tokens must begin with a letter ([A-Za-z]) and may be
    followed by any number of letters, digits ([0-9]), hyphens ("-"),
    underscores ("_"), colons (":"), and periods (".").

  http://www.w3.org/TR/html4/types.html#type-name

Chris

-- 
Chris Croome                               <chris@webarchitects.co.uk>
web design                             http://www.webarchitects.co.uk/ 
web content management                               http://mkdoc.com/



To find out more about Reuters visit www.about.reuters.com

Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Reuters Ltd.
Received on Wednesday, 14 December 2005 16:01:20 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:15:00 GMT