This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
In Level 3 LS test suite, DOMWriterFilterTest2 incorrectly expects that the text node child of an attribute node should have been stripped of its value as a result of the LSSerializerFilter rejecting all text nodes. However, PR version of LS spec states that "..children of Attr nodes are not passed to the filter." [1] and so this text node child of an attribute node will not be seen by the filter, and therefore will not be rejected for serialization. So upon parsing the serialized output, the attribute child's nodeValue should be that of 'attr1' rather than "". [1]http://www.w3.org/TR/2004/PR-DOM-Level-3-LS-20040205/load-save.html#LS- LSSerializerFilter
Created attachment 334 [details] Proposed patch to DOMWriterFilterTest2 to correct expected value of attribute child
Created attachment 341 [details] Same fix, but with changed description and comments