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 core test hc_attrcreatedocumentfragment reads the hc_staff.xml file and creates a new element named "html". Then it adds to it an attribute named "lang". After that it uses the "item" method on the newly created element's "attributes" Named Node Map to lookup the newly added attribute. However, the xhtml1-strict.dtd specified as the DTD for the document includes a #FIXED attribute value on the "html" element of xmlns='http://www.w3.org/1999/xhtml'. Therefore that are TWO attributes on the element. Using the "item" method to lookup the attribute via the index "0" is implementation defined because the ordering of the members of a Named Node Map is not specified by the DOM spec.
Created attachment 33 [details] patch
Changed so the test iterates through the attribute lists making sure there is one "lang" attribute in the NamedNodeMap.
Created attachment 36 [details] Found other places that expected no default attribute values