This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
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.