Re: [xml-dev] another naieve question - valid characters for ID values

From
John Cowan <>
To
Date
2002-08-07T18:52:31Z
ID
<>
Thread
Re: [xml-dev] another naieve question - valid characters for ID values
Rick Jones scripsit:

> Why do the the values of an ID attribute have to start with something
> besides a number? That is to say, why can't they be simply numbers? Or
> have I encountered a limitation of the parser I'm using (libxml2)?

Thus it was in SGML, and thus it is in XML today.  More practically,
it's better to be able to assume that names and numbers are distinguishable
in contexts like XPath.

-- 
John Cowan
        
                I am a member of a civilization. --David Brin