cowan at locke.ccil.org
Mon Jul 27 20:59:23 BST 1998
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 at 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 at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)
More information about the Xml-dev