--- parser3/www/htdocs/Attic/_bug.html 2005/11/22 11:38:44 1.84.4.13 +++ parser3/www/htdocs/Attic/_bug.html 2005/12/19 12:24:57 1.114 @@ -1,13 +1,21 @@ -^for[i](1;100){ -
-$original[^for[j](1;$i){$j}] -$original[^file::create[text;original.txt;$original]] -$original.text -
-$encoded[^original.base64[]] -$encoded -
-$decoded[^file::base64[$encoded]] -$decoded.text -^if($decoded.text ne $original.text){^throw[bug;here]} +@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]
+]]
+