Re: Namespaces in XML 1.x test suite contribution

* Richard Tobin wrote:
>>   * <xmlns:foo/>
>
>http://www.w3.org/XML/xml-names-19990114-errata#NE05 says:
>
>  The prefix xmlns is used only to declare namespace bindings
>
>(and Namespaces 1.1 says the same).  This should be changed to use "MUST".

I note that DOM implementations do not raise a NAMESPACE_ERR exception
for .createElementNS('http://www.w3.org/2000/xmlns/', 'xmlns:foo') or
for .createElementNS('http://www.w3.org/2000/xmlns/', 'xmlns'). If such
a change is made to the namespaces recommendations DOM Level 3 Core
should be updated accordingly (it either must not allow creation of such
elements or the namespace fixup algorithm must report an error if the
tree includes such an element). There may be similar problems in other
specifications.
-- 
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 

Received on Monday, 19 December 2005 16:30:19 UTC