--- parser3/tests/097.html 2003/07/24 11:25:58 1.2
+++ parser3/tests/097.html 2007/03/13 09:26:42 1.5
@@ -1,4 +1,4 @@
-$file[^file::load[text;http://www.parser.ru/none/;
+$file[^file::load[binary;http://www.parser.ru/none/;
$.headers[
$.USER-AGENT[paf]
]
@@ -6,5 +6,42 @@ $file[^file::load[text;http://www.parser
]]
#server: $file.SERVER
$file.status
-
$file.text+ + +^try{ + $file[^file::load[binary;http://www.parser.ru/xmlview.xsl; + $.timeout(10) + $.any-status(1) + ]] + ^try{ + $xdoc[^xdoc::create[$file]] + xdoc from file created successfully (documentElement: $xdoc.documentElement.nodeName) + }{ + can't create xdoc from file. + $exception.handled(1) + } +}{ + can't load remote file. + $exception.handled(1) +} + +