--- parser3/www/htdocs/Attic/_bug.html 2005/08/08 13:30:45 1.94 +++ parser3/www/htdocs/Attic/_bug.html 2005/12/19 12:24:57 1.114 @@ -1,5 +1,21 @@ -$document[^xdoc::load[_bug.xml]] -$idroot[^document.selectSingle[//games]] -$idold[^document.selectSingle[//games/lastid]] -$idremove[^idroot.removeChild[$idold]] -^document.save[games1.xml] +@main[] +^try{ + ^mustfail[] +}{ + ^if($exception.type eq xml){ + failed, that's OK + $exception.handled(1) + } +} + +@mustfail[] +$dom_from_disk[^xdoc::create[input]] +$dom_created_in_air[^xdoc::create[doc]] +^dom_created_in_air.documentElement.appendChild[$dom_from_disk.documentElement] +^show_xdoc2[$dom_created_in_air] + +@show_xdoc2[xdoc] +
^taint[html][^xdoc.string[ + $.method[html] +]] +