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

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