--- parser3/www/htdocs/Attic/_bug.html 2004/03/02 15:54:07 1.24 +++ parser3/www/htdocs/Attic/_bug.html 2005/12/19 12:24:57 1.114 @@ -1,16 +1,21 @@ -$request:charset[windows-1251] -$response:charset[windows-1251] - - -^connect[$SQL.connect-string]{ -#$f[^file::sql[_bug.dat]{select 2*2}] -#^f.save[binary;$f.name] $f.name saved +@main[] +^try{ + ^mustfail[] +}{ + ^if($exception.type eq xml){ + failed, that's OK + $exception.handled(1) + } +} -#$f[^file::sql{select 2*2, '_bug2.zip' }] -#^f.save[binary;$f.name] $f.name $f.content-type saved +@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] -$f[^file::sql{select 2*2, '_bug2.giffff', 'image/gif' }] -^f.save[binary;$f.name] $f.name $f.content-type saved -#$f[^file::load[binary;_bug.gif]] -#=^f.sql-string[]= -} +@show_xdoc2[xdoc] +
^taint[html][^xdoc.string[ + $.method[html] +]] +