- From: <bugzilla@farnsworth.w3.org>
- Date: Tue, 29 Apr 2008 18:51:57 +0000
- To: public-qt-comments@w3.org
- CC:
http://www.w3.org/Bugs/Public/show_bug.cgi?id=4463
chamberl@almaden.ibm.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
------- Comment #4 from chamberl@almaden.ibm.com 2008-04-29 18:51 -------
On 29 April 2008, the working group resolved this bug report by approving the
following erratum text:
(1) Section 4.12 (Namespace Declaration)
Replace paragraph 5 as follows:
The namespace prefix specified in a namespace declaration must not be xml
or xmlns [err:XQST0070]. The namespace URI specified in a namespace
declaration must not be http://www.w3.org/XML/1998/namespace or
http://www.w3.org/2000/xmlns/ [err:XQST00070]. The namespace prefix
specified in a namespace declaration must not be the same as any namespace
prefix bound in the same module by a module import, schema import, module
declaration, or another namespace declaration [err:XQST0033].
(2) Section 3.7.1.2 (Namespace Declaration Attributes)
Replace the third bullet as follows:
It is a static error [err:XQST0070] if a namespace declaration attribute
attempts to do any of the following:
(a) Bind the prefix xml to some namespace URI other than
http://www.w3.org/XML/1998/namespace
(b) Bind a prefix other than xml to the namespace URI
http://www.w3.org/XML/1998/namespace
(c) Bind the prefix xmlns to any namespace URI
(d) Bind any prefix to the namespace URI
http://www.w3.org/2000/xmlns/
(3) Redefine error XQST0070 as follows:
A static error is raised if one of the predefined prefixes xml or xmlns
appears in a namespace declaration, or if any of the following conditions
can be statically detected in any expression or declaration:
(a) The prefix xml is bound to some namespace URI other than
http://www.w3.org/XML/1998/namespace
(b) A prefix other than xml is bound to the namespace URI
http://www.w3.org/XML/1998/namespace
(c) The prefix xmlns is bound to any namespace URI
(d) A prefix other than xmlns is bound to the namespace URI
http://www.w3.org/2000/xmlns/
(4) Section 3.7.3.2 (Computed Attribute Constructors)
Replace the paragraph following the first numbered list as follows:
A dynamic error [XQDY0044] is raised if the node-name of the constructed
attribute node has any of the following properties:
(a) Its namespace prefix is xmlns
(b) It has no namespace prefix and its local name is xmlns
(c) Its namespace URI is http://www.w3.org/2000/xmlns/
(d) Its namespace prefix is xml and its namespace URI is not
http://www.w3.org/XML/1998/namespace
(e) Its namespace prefix is other than xml and its namespace URI is
http://www.w3.org/XML/1998/namespace
(5) Redefine error XQDY0044 as follows:
It is a dynamic error if the node-name of a node constructed by a computed
attribute constructor has any of the following properties:
(a) Its namespace prefix is xmlns
(b) It has no namespace prefix and its local name is xmlns
(c) Its namespace URI is http://www.w3.org/2000/xmlns/
(d) Its namespace prefix is xml and its namespace URI is not
http://www.w3.org/XML/1998/namespace
(e) Its namespace prefix is other than xml and its namespace URI is
http://www.w3.org/XML/1998/namespace
(6) Section 3.7.3.1 (Computed Element Constructors)
Insert the following paragraph following the first numbered list:
A dynamic error [err:XQDY0096] is raised if the node-name of the
constructed element node has any of the following properties:
(a) Its namespace prefix is xmlns
(b) Its namespace URI is http://www.w3.org/2000/xmlns/
(c) Its namespace prefix is xml and its namespace URI is not
http://www.w3.org/XML/1998/namespace
(d) Its namespace prefix is other than xml and its namespace URI is
http://www.w3.org/XML/1998/namespace
(7) Define a new error XQDY0096 as follows:
It is a dynamic error if the node-name of a node constructed by a computed
element constructor has any of the following properties:
(a) Its namespace prefix is xmlns
(b) Its namespace URI is http://www.w3.org/2000/xmlns/
(c) Its namespace prefix is xml and its namespace URI is not
http://www.w3.org/XML/1998/namespace
(d) Its namespace prefix is other than xml and its namespace URI is
http://www.w3.org/XML/1998/namespace
Regards,
Don Chamberlin (for the Query Working Group)
Received on Tuesday, 29 April 2008 18:52:58 UTC