This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
The DOM L3 Core test: nodereplacechild21 tries to put a foreign Notation node into childNodes of a DocumentType, replacing an entity. It expects NO_MODIFICATION_ALLOWED_ERR in response, but WRONG_DOCUMENT_ERR (due to the foreign doctype) and NOT_FOUND_ERR (because the entity is not actually in the childNodes - Entity and Notation are *not* part of the childNodes tree) are equally valid.