--- parser3/www/htdocs/Attic/_bug.html 2004/07/26 14:43:09 1.56 +++ parser3/www/htdocs/Attic/_bug.html 2005/12/19 12:24:57 1.114 @@ -1,11 +1,21 @@ -^if(1){ -$response:download[ -# $.file[ptic.gif] - $.file[empty] - $.name[ptic2.gif] - $.mdate[^date::now(-1)] -] +@main[] +^try{ + ^mustfail[] }{ - $response:download[^file::load[binary;ptic.gif]] + ^if($exception.type eq xml){ + failed, that's OK + $exception.handled(1) + } } -OK \ No newline at end of file + +@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] +]] +