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 727 - documentnormalizedocument10 is broken
Summary: documentnormalizedocument10 is broken
Status: NEW
Alias: None
Product: DOM TS
Classification: Unclassified
Component: DOM Level 3 (show other bugs)
Version: unspecified
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: Philippe Le Hegaret
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-22 20:27 UTC by Andrew Clover
Modified: 2004-05-23 00:27 UTC (History)
0 users

See Also:


Attachments

Description Andrew Clover 2004-05-22 20:27:23 UTC
The DOM L3 Core test:

  documentnormalizedocument10

tries to insert a second Element node into a Document. This might go wrong
straight away with a HIERARCHY_REQUEST_ERR, but if not it will certainly go
wrong when normalizeDocument is called as the document cannot possibly be
well-formed.

In any case the test is based on a flawed premise, that setting
'element-content-whitespace' to false and normalising will remove some spaces
from the middle of a Text node whose parent is not declared as containing
'element content'. This misunderstands what 'element content whitespace'
actually is.