This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
http://lists.w3.org/Archives/Public/www-dom/2003OctDec/0062.html asked for clarification on the expected behavior of setAttributeNS where namespaceURI is non-null and qualifiedName contains no prefix. The WG's resolution was that additional tests should be added to the test suite to cover the expected behavior. The existing L2 tests elementsetattributens01 and 03 appear to adequately address the expected behavior in memory. DOMWriterTest5 was added to test proper serialization. DOMWriterTest6 is similar to 5 except a prefix is specified in the call to setAttributeNS.
Created attachment 138 [details] Adds DOMWriterTest5 and 6