W3C home > Mailing lists > Public > public-qt-comments@w3.org > September 2006

[Bug 3778] 3.7.1.2: description for xmlns/xml is contradictory

From: <bugzilla@wiggum.w3.org>
Date: Fri, 29 Sep 2006 16:44:16 +0000
CC:
To: public-qt-comments@w3.org
Message-Id: <E1GTLTE-0003WX-LK@wiggum.w3.org>

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





------- Comment #1 from mike@saxonica.com  2006-09-29 16:44 -------
>'It is a static error[err:XQST0070] if a namespace declaration attribute binds a namespace URI to the predefined prefix "xmlns" or binds the namespace URI "http://www.w3.org/XML/1998/namespace" and the predefined prefix "xml" to anything but themselves.'

>A clearer version is welcome.

When in doubt, split it up.

"It is a static error [err:XQST0070] if a namespace declaration attribute binds
a namespace URI to the predefined prefix "xmlns".

"It is a static error [err:XQST0070] if a namespace declaration attribute binds
a namespace URI other than http://www.w3.org/XML/1998/namespace to the prefix
"xml", or if it binds the namespace URI http://www.w3.org/XML/1998/namespace to
a prefix other than "xml".

Michael Kay
Received on Friday, 29 September 2006 16:44:31 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:15 UTC