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 414 - Doctype replacement can raise exceptions
Summary: Doctype replacement can raise exceptions
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:41 UTC by Andrew Clover
Modified: 2003-12-18 07:32 UTC (History)
0 users

See Also:


Attachments
Used try block to allow NOT_SUPPORTED_ERR (5.79 KB, patch)
2003-12-18 02:31 UTC, Curt Arnold
Details

Description Andrew Clover 2003-12-12 14:41:34 UTC
level3/core/nodeinsertbefore05
level4/core/getdoctype01

Implementations are not required to support doctype replacement through
childNode access, so either of these could raise NOT_SUPPORTED_ERR. Also in the
case of nodeinsertbefore05, the doctype node to be inserted is already owned by
another document, so the attempt can generate a WRONG_DOCUMENT_ERR.
Comment 1 Curt Arnold 2003-12-18 02:31:08 UTC
Created attachment 121 [details]
Used try block to allow NOT_SUPPORTED_ERR