W3C home > Mailing lists > Public > public-xml-core-wg@w3.org > May 2011

Re: Reserved XML names and namespaces

From: Henry S. Thompson <ht@inf.ed.ac.uk>
Date: Fri, 13 May 2011 16:48:41 +0100
To: liam@w3.org
Cc: Jirka Kosek <jirka@kosek.cz>, public-xml-core-wg@w3.org, Innovimax W3C <innovimax+w3c@gmail.com>
Message-ID: <f5b62pey52e.fsf@calexico.inf.ed.ac.uk>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Michael Schäfer writes:

> Production rule [5] in XML spec declares Name to have set of initial and
> following chars, but it alone does not ban "xml" as an initial character
> sequence.

It cannot do so.  If it did, then e.g. <foo xmlns="..."/> would be
invalid, because 'xmlns' would not be a Name.  It is _necessary_  that
the reservation of xml... is not expressed in a production.

ht
- -- 
       Henry S. Thompson, School of Informatics, University of Edinburgh
      10 Crichton Street, Edinburgh EH8 9AB, SCOTLAND -- (44) 131 650-4440
                Fax: (44) 131 651-1426, e-mail: ht@inf.ed.ac.uk
                       URL: http://www.ltg.ed.ac.uk/~ht/
 [mail from me _always_ has a .sig like this -- mail without it is forged spam]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFNzVLZkjnJixAXWBoRAjFtAJ48zyclziplUvoZuXx4KbG/EITHYQCfUOHX
frP9LhCMU4J+4Kvf11p3ElQ=
=lxgZ
-----END PGP SIGNATURE-----
Received on Friday, 13 May 2011 15:49:13 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:16:43 UTC