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 546 - hc_elementnormalize requires expandEntityReferences
Summary: hc_elementnormalize requires expandEntityReferences
Status: RESOLVED FIXED
Alias: None
Product: DOM TS
Classification: Unclassified
Component: DOM Level 1 (show other bugs)
Version: unspecified
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: Philippe Le Hegaret
QA Contact:
URL:
Whiteboard:
Keywords:
: 547 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-02-19 10:16 UTC by Andrew Clover
Modified: 2004-03-09 21:55 UTC (History)
0 users

See Also:


Attachments
Rework of hc_elementnormalize and hc_elementnormalize2 (3.58 KB, patch)
2004-03-09 16:52 UTC, Curt Arnold
Details

Description Andrew Clover 2004-02-19 10:16:01 UTC
This test checks that a nodeValue will be character 948, but if the  
implementation does not expandEntityReferences this node will be an entity  
reference, hence its value will be null.
Comment 1 Curt Arnold 2004-03-09 16:52:01 UTC
Created attachment 285 [details]
Rework of hc_elementnormalize and hc_elementnormalize2

The original hc_elementnormalize didn't make much sense.  The new test adds a
couple of text nodes and then checks normalization.  Not effected by entity
expansion.

hc_elementnormalize2 modified an attribute but then checked the element
content.
Comment 2 Curt Arnold 2004-03-09 16:55:03 UTC
*** Bug 547 has been marked as a duplicate of this bug. ***