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 test documentimportnode14 in CVS does not test for what its description thinks it does. The description states that the test checks a default (non-specified) Attr is copied when its owner Element is imported. However according to spec this should *not* happen. The real reason the test works is that the element is being imported into its own document, with the same ATTLIST in the doctype, and so the default attribute is added to the element again at the end of the import process, rather than simply being copied. Since the default attribute is contained in the external subset, the test will only work for external-entity-including implementations. Incidentally, the test chooses the fourth *:employee element (item(3)), not the third as stated in the text.
Created attachment 142 [details] Changes test to import into new document and checks default and explict attributes