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 527 - nodegettextcontent19 used NS methods without asserting NS-aware
Summary: nodegettextcontent19 used NS methods without asserting NS-aware
Status: RESOLVED FIXED
Alias: None
Product: DOM TS
Classification: Unclassified
Component: DOM Level 3 (show other bugs)
Version: unspecified
Hardware: Other other
: P2 normal
Target Milestone: ---
Assignee: Curt Arnold
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-16 00:14 UTC by Curt Arnold
Modified: 2004-02-16 05:17 UTC (History)
0 users

See Also:


Attachments
Changes getElementByTagNameNS to getElementByTagName (817 bytes, patch)
2004-02-16 00:15 UTC, Curt Arnold
Details

Description Curt Arnold 2004-02-16 00:14:05 UTC
Test nodegettextcontent19 called Document.getElementByTagNameNS without 
asserting that the parser was namespace aware which would return in the test 
failing with a NullPointerException.  The call was replaced by a call to 
getElementByTagName since that method was only used to set up the actual 
behavior under test.
Comment 1 Curt Arnold 2004-02-16 00:15:05 UTC
Created attachment 228 [details]
Changes getElementByTagNameNS to getElementByTagName
Comment 2 Curt Arnold 2004-02-16 00:17:00 UTC
Other test use getElementByTagNameNS unnecessarily but assert 
namespaceAware=true, however this may leave the non-NS aware implementations 
untested.