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 745 - canonicalform tests requiring parse-time canonicalisation
Summary: canonicalform tests requiring parse-time canonicalisation
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-25 12:29 UTC by Andrew Clover
Modified: 2004-05-25 16:29 UTC (History)
0 users

See Also:


Attachments

Description Andrew Clover 2004-05-25 12:29:34 UTC
The DOM L3 LS tests:

  canonicalform01
  canonicalform03
  canonicalform04
  canonicalform05
  canonicalform06
  canonicalform08
  canonicalform09
  canonicalform10
  canonicalform11
  canonicalform12

test the effects of specifying the canonical-form parameter on an LSParser's
domConfig. However, it is unclear (to me at least) from the Rec spec whether
Canonical XML (traditionally a serialisation issue rather than a parsing one) is
supposed to be effective for parsing operations.

This may in any case be a mistake as many of the tests' descriptions talk about
normalising the document with canonical-form True, however normalizeDocument is
never called.

Some of the tests will still work as they are testing for some of the
side-effects of canonical-form (such as comment removal and so on) which are
known to be required for LSParser; others (such as doctype removal and redundant
namespace declaration removal) might not.

Unfortunately I've been unable to get a resolution on the question of what the
spec requires here so far. Any thoughts appreciated.