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


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: Naming Rules

[ Lists Home | Date Index | Thread Index ]
  • From: John Cowan <cowan@locke.ccil.org>
  • To: XML Dev <xml-dev@ic.ac.uk>
  • Date: Mon, 27 Jul 1998 14:58:25 -0400

Portillo, Christina wrote:
> I need some clarification on the differences in the naming rules defined
> in the XML SGML Declaration and the Naming Rules defined in XML Part 1
> Names and Tokens.

It's important to understand that the SGML declaration for XML
is not normative.  In case of conflict, the XML specification rules.
> My understanding of the Name restricts the 1st character position to a
> letter or a underscore or colon which is in sync with the SGML
> Declaration. But the NameChar allows underscores and colons in the
> remaining character positions which is at variance with the naming rules
> defined by the SGML Declaration.

While I am not an SGML mavin, it seems clear that everything declared
as a NAMESTRT character is also valid as a NAMECHAR character.
The characters explicitly listed in NAMECHAR are the non-ASCII digits,
combining marks, and modifier letters, plus the FULL STOP and HYPHEN-MINUS.

John Cowan	http://www.ccil.org/~cowan		cowan@ccil.org
	You tollerday donsk?  N.  You tolkatiff scowegian?  Nn.
	You spigotty anglease?  Nnn.  You phonio saxo?  Nnnn.
		Clear all so!  'Tis a Jute.... (Finnegans Wake 16.5)

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)

  • References:
    • Naming Rules
      • From: "Portillo, Christina" <Alice.Portillo@PSS.Boeing.com>


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

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