--- parser3/www/htdocs/Attic/_bug.html 2004/03/23 09:43:44 1.33 +++ parser3/www/htdocs/Attic/_bug.html 2005/12/19 12:24:57 1.114 @@ -1,17 +1,21 @@ -@main2[] -^switch[2]{ - ^case(1){one} - ^case[DEFAULT]{def} +@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] -@get[] -$result[ - $._default{^math:random(10)} -] -#end @getBasketData[] - -@main[] -$h[^get[]] - -=$h.1= \ No newline at end of file +@show_xdoc2[xdoc] +
^taint[html][^xdoc.string[ + $.method[html] +]] +