[Bug 25290] [Custom]: Ban uppercase and leading "xml" in custom element names?

https://www.w3.org/Bugs/Public/show_bug.cgi?id=25290

Liam R E Quin <liam@w3.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |liam@w3.org

--- Comment #7 from Liam R E Quin <liam@w3.org> ---
[personal response not from XML Core WG]

The restriction on names starting with xml (in any combination of upper and
lower case) came because XML itself predates XML namespaces.

However, they are not forbidden or illegal.

[[
Names beginning with the string "xml", or with any string which would match
(('X'|'x') ('M'|'m') ('L'|'l')), are reserved for standardization in this or
future versions of this specification.
]]

means that if you use an element like "xmlisreallyawesomeactually" in your
documents you run the risk (in theory) that some future version of XML might
define a meaning for that element. If it did, you'd quite likely want to use it
with that new meaning in future XHTML documents, so they should not be
forbidden.

(the term "reserved" is never formally defined in the XML spec, however)

In practice any new named defined by the XML Core Working Group have been in an
XML namespace such as "xml", "xmlns" (the only to hard-wired namespace
prefixes) and of course XInclude.

I can take it to the XML Core WG, although I'm not sure they/we will think it
worth a revision of the XML spec.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Thursday, 17 April 2014 21:43:18 UTC