This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Documentation bug: hc_nodecommentnodeattributes.html says: Retrieve the Comment Node(third child) of the DOM document and invoke the "getAttributes()" method on the Comment Node. But the new test looks at any comment node as a direct child of the document, and checks its attributes property; then the test creates a comment node and checks its attributes property. (so the "third child" comment is wrong). This is a good test however because it doesn't depend on the result of hc_commentgetcomment.html (i.e. whether the existing comment node can be found or not).
Copied comment from nodecommentnodeattributes.xml Index: hc_nodecommentnodeattributes.xml =================================================================== RCS file: /sources/public/2001/DOM-Test-Suite/tests/level1/core/hc_nodecommentnodeattributes.xml,v retrieving revision 1.2 diff -u -r1.2 hc_nodecommentnodeattributes.xml --- hc_nodecommentnodeattributes.xml 28 Jun 2003 19:26:23 -0000 1.2 +++ hc_nodecommentnodeattributes.xml 23 Sep 2003 03:54:32 -0000 @@ -18,16 +18,18 @@ <description> The "getAttributes()" method invoked on a Comment Node returns null. - - Retrieve the Comment Node(third child) of the DOM - document and invoke the "getAttributes()" method on the - Comment Node. It should return null. + + Find any comment that is an immediate child of the root + and assert that Node.attributes is null. Then create + a new comment node (in case they had been omitted) and + make the assertion. </description> <date qualifier="created">2002-06-09</date> <subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-84CF096"/> <subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-1728279322"/> <subject resource="http://www.w3.org/Bugs/Public/show_bug.cgi?id=248"/> +<subject resource="http://www.w3.org/Bugs/Public/show_bug.cgi?id=263"/> </metadata> <var name="doc" type="Document"/> <var name="commentNode" type="Node"/>