--- parser3/www/htdocs/Attic/_bug.html 2004/02/27 15:24:03 1.15 +++ parser3/www/htdocs/Attic/_bug.html 2005/12/19 12:24:57 1.114 @@ -1,9 +1,21 @@ @main[] -$s[// 123/] -^taint[as-is][^s.trim[start;/3 1]] +^try{ + ^mustfail[] +}{ + ^if($exception.type eq xml){ + failed, that's OK + $exception.handled(1) + } +} -@leechy[] -$xdoc[^xdoc::load[_bug.xml]] -$xdoc[^xdoc.transform[_bug.xsl]] -^xdoc.save[_bug_saved.xml] -OK? +@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] +]] +