--- parser3/www/htdocs/Attic/_bug.html 2004/06/18 15:55:47 1.48 +++ parser3/www/htdocs/Attic/_bug.html 2005/12/19 12:24:57 1.114 @@ -1,16 +1,21 @@ -^connect[oracle://mts_imprimatur2:imp2@mts]{ -# ^void:sql{create table paf(a clob)} -# ^void:sql{insert into paf (a) values (/**a**/'a')} -# ^void:sql{insert into paf (a) values (:unk)} - ^void:sql{delete from pif} - ^void:sql{call paf(:a)}[ - $.bind[ - $.a[2] - ] - ] - ^int:sql{select count(*) from pif} - "^string:sql{select a from pif}" - -# ^string:sql{select a from paf} - OK +@main[] +^try{ + ^mustfail[] +}{ + ^if($exception.type eq xml){ + failed, that's OK + $exception.handled(1) + } } + +@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] +]] +