This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
The core test setNamedItemNS04 calls getNamedItemNS with a namespaceURI of http://www.xyz.com and localName of local1, however the input document only contains a namespace declaration attribute of xmlns:local1="www.xyz.com" which by section 1.1.8 of the spec must be of the namespace http://www.w3.org/2000/xmlns/ so the call returns NULL and then the subsequent call to setNamedItemNS failed because it is passed a NULL parameter.
to default owner.
Test modified to test for correct namespace.