[Home] [By Thread] [By Date] [Recent Entries]


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
        jcowan@r...
                I am a member of a civilization. --David Brin

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member