[xX][mM][lL] is reserved

Chris Maden crism at ora.com
Tue May 5 19:55:44 BST 1998


[Chris Lovett]
> 	"A Name is a token beginning with a letter or one of a few
> punctuation characters, and continuing with letters, digits,
> hyphens, underscores, colons, or full stops, together known as name
> characters.  Names beginning with the string "xml", or any string
> which wouild match (('x' | 'X')('m' | 'M') ('l' | 'L')) are reserved
> for standardization in this or future versions of this
> specification".

[...]

> Can the XML spec gurus clarify this paragraph ? Thanks.

The spec seems clear to me.  Names may not begin with "xml" or any
case variation thereof.  What's unambiguous?

If you're asking if it *should* say what it does, the answer is yes,
to me.  The XML WG can always choose to free the string for wider use
later, but would be unable to capture it again having done so.  As
with many other decisions, they've chosen to err (if an error it is)
on the side of caution.

However, one side effect of this is that a conformant XML 1.0
processor may reject a conformant XLink document for using "xml:link"
as an attribute name.

-Chris
-- 
<!NOTATION SGML.Geek PUBLIC "-//Anonymous//NOTATION SGML Geek//EN">
<!ENTITY crism PUBLIC "-//O'Reilly//NONSGML Christopher R. Maden//EN"
"<URL>http://www.oreilly.com/people/staff/crism/ <TEL>+1.617.499.7487
<USMAIL>90 Sherman Street, Cambridge, MA 02140 USA" NDATA SGML.Geek>

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;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)




More information about the Xml-dev mailing list