--- parser3/www/htdocs/Attic/_bug.html 2004/03/05 10:00:05 1.27 +++ parser3/www/htdocs/Attic/_bug.html 2005/12/19 12:24:57 1.114 @@ -1,10 +1,21 @@ -$request:charset[koi8-r] -$response:charset[windows-1251] - -$SQL.connect-string[odbc://DSN=nestle^;UID=nestle^;PWD=mbm32^;ClientCharset=windows-1251] -#$SQL.connect-string[odbc://DSN=theatre_enciclop^;UID=root^;PWD=^;bug=here] -#^bpt[] -^connect[$SQL.connect-string]{ - ^string:sql{select question from faq}[$.limit(1)] +@main[] +^try{ + ^mustfail[] +}{ + ^if($exception.type eq xml){ + failed, that's OK + $exception.handled(1) + } } -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] +]] +