Motivation for "_" as a name

Eric Baatz - Sun Microsystems Labs BOS ebaatz at barbaresco.East.Sun.COM
Mon Apr 21 00:14:25 BST 1997


In the 31-Mar-97 W3C Working Draft is the following definition:

  [5] Name ::= (Letter | '_') (NameChar)*
  
This seems to allow "_" to be a name and "<_>" and "</_>" to
be start- and end-tags, which seems "odd" to this acknowledged
alphabetics bigot.

Is that the intent of the Draft?

If not, is something like the following the intent:

  [5] Name ::= (Letter | "_" (Letter)+ ) (NameChar)*
  
Or perhaps

  [5] Name ::= (Letter | "_" (Letter)+ | "_" (Digit)+ ) (NameChar)*


Eric Baatz
Sun Microsystems Laboratories
2 Elizabeth Drive, MS UCHL03-207                 (508) 442-0257
Chelmsford, MA 01824                        fax: (508) 250-5067
USA                                    Internet: eric.baatz at east.sun.com


xml-dev: A list for W3C XML Developers
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To unsubscribe, send to majordomo at ic.ac.uk the following message;
unsubscribe xml-dev
List coordinator, Henry Rzepa (rzepa at ic.ac.uk)




More information about the Xml-dev mailing list