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 601 - value of oldChild should be that of existing entity in nodereplacechild10
Summary: value of oldChild should be that of existing entity in nodereplacechild10
Status: RESOLVED FIXED
Alias: None
Product: DOM TS
Classification: Unclassified
Component: DOM Level 3 (show other bugs)
Version: unspecified
Hardware: Other other
: P2 normal
Target Milestone: ---
Assignee: Philippe Le Hegaret
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-15 10:09 UTC by nnissar
Modified: 2004-04-02 05:48 UTC (History)
0 users

See Also:


Attachments
Changed ent1 to alpha (710 bytes, patch)
2004-04-02 00:47 UTC, Curt Arnold
Details

Description nnissar 2004-03-15 10:09:19 UTC
In nodereplacechild10, getNamedItem with name 'ent1' is called on the entities 
NamedNodeMap, but in the instance document, there is no entity entitled 'ent1'. 
As the method being tested is replaceChild, oldChild should be a valid non-null 
entity, ie 'alpha'.

<entities var="entitiesMap" obj="docType" />
<getNamedItem var="ent" obj="entitiesMap" name='"ent1"'/>           <----
Comment 1 Curt Arnold 2004-04-02 00:47:34 UTC
Created attachment 340 [details]
Changed ent1 to alpha