This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 182 - setNamedItemNS04 tests for wrong namespace
Summary: setNamedItemNS04 tests for wrong namespace
Status: RESOLVED FIXED
Alias: None
Product: DOM TS
Classification: Unclassified
Component: DOM Level 2 (show other bugs)
Version: unspecified
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: Philippe Le Hegaret
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-15 11:40 UTC by Joe Schafer
Modified: 2003-07-03 10:49 UTC (History)
0 users

See Also:


Attachments

Description Joe Schafer 2003-04-15 11:40:14 UTC
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.
Comment 1 Bob Clary 2003-06-28 17:51:09 UTC
to default owner.
Comment 2 Richard Rivello 2003-07-03 06:49:23 UTC
Test modified to test for correct namespace.