--- parser3/tests/149.html 2005/12/19 12:24:57 1.1
+++ parser3/tests/149.html 2007/08/20 09:20:15 1.2
@@ -13,49 +13,61 @@ $xdoc[^xdoc::create{
}]
-^dump[$xdoc]
+^dump[Origin;$xdoc]
-^xdoc.documentElement.firstChild.nextSibling.getAttributeNS[http://parser.ru/first;attrname]
+^xdoc.documentElement.firstChild.nextSibling.getAttributeNS[http://parser.ru/first;attrname]
^xdoc.documentElement.lastChild.previousSibling.setAttributeNS[http://parser.ru/second;second:attrname2;value 2]
-^dump[$xdoc]
+^dump[Added attrname2 for last 'man' element;$xdoc]
+
^xdoc.documentElement.firstChild.nextSibling.removeAttributeNS[http://parser.ru/first;attrname]
-^dump[$xdoc]
+^dump[Removed attrname for first 'man' element;$xdoc]
+
-=^xdoc.documentElement.lastChild.previousSibling.getAttributeNS[http://parser.ru/second;attrname2]=
+^^x.getAttrinuteNS[...;attrname2]='^xdoc.documentElement.lastChild.previousSibling.getAttributeNS[http://parser.ru/second;attrname2]'
$Attr[^xdoc.documentElement.lastChild.previousSibling.getAttributeNodeNS[http://parser.ru/second;attrname2]]
-=$Attr.nodeValue=
+^$Attr.nodeValue='$Attr.nodeValue'
$Attr.nodeValue[changed attribute value]
-^dump[$xdoc]
+^dump[Changed attrname2 for last 'man' element;$xdoc]
#intentionally not predeclaring namespace. todo: think about that stuff
$newAttr[^xdoc.createAttributeNS[http://parser.ru/third;third:attrname3]]
$oldAttr[^xdoc.documentElement.lastChild.previousSibling.setAttributeNodeNS[$newAttr]]
-^if($oldAttr is xnode){wrong;right}
+^if($oldAttr is xnode){wrong;right}
$newAttr.nodeValue[value3]
-^dump[$xdoc]
+^dump[Added attrname3 for last 'man' element;$xdoc]
+
$NodeList[^xdoc.getElementsByTagNameNS[http://parser.ru/tst;findme]]
-^show_xnodes1[$NodeList]
^taint[html][^xdoc.string[