Re: ID

rprice@cs.uml.edu
Wed, 24 Sep 1997 08:23:04 -0400


From: rprice@cs.uml.edu
Date: Wed, 24 Sep 1997 08:23:04 -0400
Message-Id: <199709241223.IAA08514@neptune.cs.uml.edu>
To: www-html@w3.org
Subject: Re: ID

MZ writes: Simple question - are spaces allowed in 'id'?

The short answer is No.

The long answer is:
[36] id value = name
[55] name = name start character, name character*
[53] name start character = LC Letter | UCLetter | LCNMSTRT | UCNMSTRT
[52] name character = name start character | Digit | LCNMCHAR | UCNMCHAR

LC Letter = a-z   97 - 122
UC Letter = A-Z   65 - 90
LCNMSTRT =        (none)
UCNMSTRT =        (none)
LCNMCHAR = -.     45 46
UCNMCHAR = -.     45 46

The best source for information like this is Charles Goldfarb's SGML
Handbook.

Roger
_____________________________________________________________________
Roger Price                    Dept of Computer Science, Umass Lowell
rprice@cs.uml.edu           Centre d'Etudes et Recherches, IBM-France