This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
level3/core/noderemovechild07: Tries to remove a Document node from a Notation node, expecting 'not found'. But notations are read-only, so NO_MODIFICATION_ALLOWED_ERR is just as possible.
Created attachment 95 [details] Fix for noderemovechild07 Try to remove document from itself instead. Not readonly so should only raise NOT_FOUND as intended.
Created attachment 165 [details] Removes existing doctype, tolerates NOT_SUPPORTED_ERR
Created attachment 167 [details] Real patch, previous patch is for bug 417
Reopening as the same root problem also affects noderemovechild04, noderemovechild05 in level3/core. Same fix is desirable.