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 417 - noderemovechild05 tries to add a second doctype
Summary: noderemovechild05 tries to add a second doctype
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:46 UTC by Andrew Clover
Modified: 2004-01-07 16:15 UTC (History)
0 users

See Also:


Attachments
noderemovechild05 fix (1.53 KB, patch)
2003-12-12 14:48 UTC, Andrew Clover
Details
Removes existing doctype, tolerates NOT_SUPPORTED_ERR (2.98 KB, patch)
2004-01-06 16:22 UTC, Curt Arnold
Details

Description Andrew Clover 2003-12-12 14:46:40 UTC
level3/core/noderemovechild05

Tries to insert a new doctype into a document that already has one, resulting in
a HIERARCHY_REQUEST_ERR.
Comment 1 Andrew Clover 2003-12-12 14:48:58 UTC
Created attachment 94 [details]
noderemovechild05 fix

Tries to remove the existing doctype instead.

I believe a further change may be required, trying to remove a doctype can also
be an unsupported operation can't it?
Comment 2 Curt Arnold 2004-01-06 16:22:01 UTC
Created attachment 166 [details]
Removes existing doctype, tolerates NOT_SUPPORTED_ERR