This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
level3/core/adoptnode02: Tests the nodeValue of an adopted Attr that contains an entity reference. Since the doctype of the document being adopted into does not define that entity, an implementation that doesn't expand entity references during the document load should change the adopted Attr's nodeValue to 'Y' instead of 'Yes'.
Created attachment 91 [details] documentadoptnode02 fix This changes the test to adopt into a document with the same entities so the value will be preserved.
Created attachment 112 [details] Fixes for documentadoptnode01, 02 and 16
The expectation of an resolved entity reference also occurs in documentadoptnode01 and 16. The commited patch checks the children of the attribute under test to determine if it either contains an entity reference or a text node containing the expanded value, so the test is appropriate for any entity expansion behavior.