OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

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

[ Lists Home | Date Index | Thread Index ]

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




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS