--- parser3/www/htdocs/Attic/_bug.html 2004/03/10 10:42:12 1.31 +++ parser3/www/htdocs/Attic/_bug.html 2005/12/19 12:24:57 1.114 @@ -1,10 +1,21 @@ @main[] -$request:charset[windows-1251] -$response:charset[windows-1251] -$response:content-type[text/html] +^try{ + ^mustfail[] +}{ + ^if($exception.type eq xml){ + failed, that's OK + $exception.handled(1) + } +} -$xdoc[^xdoc::load[_bug.xml]] -#^xdoc.string[] -$xdoc.search-namespaces.x[http://pif.design.ru/] -$nodes[^xdoc.select[//x:second]] -^nodes._count[] +@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] +]] +