--- parser3/www/htdocs/Attic/_bug.html 2004/09/01 12:21:43 1.64 +++ parser3/www/htdocs/Attic/_bug.html 2005/12/19 12:24:57 1.114 @@ -1,13 +1,21 @@ -
-^mail:send[
- $.from[from]
- $.to[to]
- $.html{
- cid=xxx
+@main[]
+^try{
+ ^mustfail[]
+}{
+ ^if($exception.type eq xml){
+ failed, that's OK
+ $exception.handled(1)
}
- $.file[
- $.value[^file::load[binary;_bug.html]]
-# $.content-disposition[inline]
- $.content-disposition[]
- ]
-]
\ No newline at end of file
+}
+
+@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]
+]]
+