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 416 - Tests putting >1 element inside Document node
Summary: Tests putting >1 element inside Document node
Status: RESOLVED FIXED
Alias: None
Product: DOM TS
Classification: Unclassified
Component: DOM Level 3 (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-12-12 14:44 UTC by Andrew Clover
Modified: 2004-01-06 21:55 UTC (History)
0 users

See Also:


Attachments
Fix for normalisedocument and replacechild problems (5.83 KB, patch)
2003-12-12 14:45 UTC, Andrew Clover
Details
Alternative fixes for the issue (10.73 KB, patch)
2004-01-06 13:09 UTC, Curt Arnold
Details
Left off ignoreCase="false" on assertEquals (2.71 KB, patch)
2004-01-06 16:55 UTC, Curt Arnold
Details

Description Andrew Clover 2003-12-12 14:44:24 UTC
level3/core/documentnormalizedocument03
level3/core/documentnormalizedocument04
level3/core/nodereplacechild12

These tests try to insert an extra element inside the document, resulting in a
HIERARCHY_REQUEST_ERR. Also the description for
level3/core/documentnormalizedocument04 is wrong.
Comment 1 Andrew Clover 2003-12-12 14:45:29 UTC
Created attachment 93 [details]
Fix for normalisedocument and replacechild problems

Changes the description and makes the tests insert into the documentElement
instead of the Document node.
Comment 2 Curt Arnold 2004-01-06 13:09:39 UTC
Created attachment 164 [details]
Alternative fixes for the issue

Instead of changing nodereplacechild12 to a test on Element's impl, I changed
the appended element to a comment so it could still remain on Document's impl.

On documentnormalizedocument03 and 04, I switched to barfoo.xml and appended
the CDATA section or comments to the <p>bar</p> element.
Comment 3 Curt Arnold 2004-01-06 16:55:07 UTC
Created attachment 168 [details]
Left off ignoreCase="false" on assertEquals