W3C home > Mailing lists > Public > public-qt-comments@w3.org > April 2007

[Bug 4464] [XSLT] Missing rules for misuse of the xmlns namespace

From: <bugzilla@wiggum.w3.org>
Date: Mon, 23 Apr 2007 15:22:10 +0000
CC:
To: public-qt-comments@w3.org
Message-Id: <E1Hg0Mk-0003gp-TM@wiggum.w3.org>

http://www.w3.org/Bugs/Public/show_bug.cgi?id=4464


mike@saxonica.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED




------- Comment #2 from mike@saxonica.com  2007-04-23 15:22 -------
Proposed textual changes:

1. In 3.2 Reserved Namespaces, first bulleted list, add a new item: "The
namespace "http://www.w3.org/2000/xmlns/" is reserved for use as described in
[Namespaces in XML 1.0]. No element or attribute node can have a name in this
namespace, and although the prefix "xmlns" is implicitly bound to this
namespace, no namespace node will ever define this binding.

2a. In 11.1, xsl:element, add to the definition of ERR XTDE0835 so that it
reads: "[ERR XTDE0835] It is a non-recoverable dynamic error if the effective
value of the namespace attribute is not in the lexical space of the xs:anyURI
data type or if it is the string 'http://www.w3.org/2000/xmlns/'."

2b. In 11.1, xsl:element, after the sentence "In the event of a conflict a
prefix may subsequently be added, changed, or removed during the namespace
fixup process (see 5.7.3 Namespace Fixup).", add "The term 'conflict' here
means any violation of the constraints defined in [DataModel], for example the
use of the same prefix to refer to two different namespaces in the element and
in one of its attributes, the use of the prefix "xml" to refer to a namespace
other than the XML namespace, or any use of the prefix "xmlns"."
3. In 11.3, xsl:attribute, add to the definition of ERR XTDE0865 so that it
reads: "[ERR XTDE0865] It is a non-recoverable dynamic error if the effective
value of the namespace attribute is not in the lexical space of the xs:anyURI
data type or if it is the string 'http://www.w3.org/2000/xmlns/'.

4. In 11.3, xsl:attribute, after the sentence "In the event of a conflict this
prefix (or absence of a prefix) may subsequently be changed during the
namespace fixup process (see 5.7.3 Namespace Fixup).", add "The term 'conflict'
here means any violation of the constraints defined in [DataModel], for example
the use of the same prefix to refer to two different namespaces in different
attributes of the same element, the use of the prefix "xml" to refer to a
namespace other than the XML namespace, or any use of the prefix "xmlns"."

5. In 11.7 Creating Namespace Nodes, expand the definition of error XTDE0905 so
that it reads: "[ERR XTDE0905] It is a non-recoverable dynamic error if the
string value of the new namespace node is not valid in the lexical space of the
data type xs:anyURI, or if it is the string 'http://www.w3.org/2000/xmlns/'".

6. In 5.7.3, first bulleted list, last item, add to the existing text so that
it reads: A namespace node must not have the name xmlns or the string value
'http://www.w3.org/2000/xmlns/'
Received on Monday, 23 April 2007 15:22:25 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:33 UTC