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 413 - nodeinsertbefore04 can raise NOT_FOUND
Summary: nodeinsertbefore04 can raise NOT_FOUND
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: Curt Arnold
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-12 14:38 UTC by Andrew Clover
Modified: 2003-12-16 07:18 UTC (History)
0 users

See Also:


Attachments
Fix for nodeinsertbefore04 (545 bytes, patch)
2003-12-12 14:39 UTC, Andrew Clover
Details
Also changes copyright, description, metadata and eliminates namespace req (2.12 KB, patch)
2003-12-16 02:16 UTC, Curt Arnold
Details

Description Andrew Clover 2003-12-12 14:38:50 UTC
level3/core/nodeinsertbefore04

Tries to insert the doctype before the doc instead of the doc before the
doctype. Because the doc is not its own parent, can raise NOT_FOUND_ERR as well
as HIERARCHY_REQUEST_ERR.
Comment 1 Andrew Clover 2003-12-12 14:39:58 UTC
Created attachment 92 [details]
Fix for nodeinsertbefore04

Swaps the newChild and refChild around so that HIERARCHY_REQUEST_ERR is the
only possible exception.
Comment 2 Curt Arnold 2003-12-16 02:16:08 UTC
Created attachment 114 [details]
Also changes copyright, description, metadata and eliminates namespace req