--- parser3/tests/145.html 2005/12/16 13:15:18 1.1 +++ parser3/tests/145.html 2005/12/19 12:24:57 1.2 @@ -11,8 +11,8 @@ $xdoc[^xdoc::create{ }] -^if(^xdoc.firstChild.hasChildNodes[]){y;n} -^if(^xdoc.firstChild.nextSibling.hasChildNodes[]){y;n} +^if(^xdoc.firstChild.hasChildNodes[]){wrong1;right, comment does not have children}
+^if(^xdoc.firstChild.nextSibling.hasChildNodes[]){right;wrong2} #should have dtd for this to work $Element[^xdoc.getElementById[2]] # ^show_xnode1[$Element]