--- parser3/www/htdocs/Attic/_bug.html 2004/02/20 10:57:55 1.9 +++ parser3/www/htdocs/Attic/_bug.html 2004/10/07 09:23:44 1.69 @@ -1,16 +1,10 @@ -@main[] -$request:charset[UTF-8] -#$response:charset[UTF-8] -$response:charset[windows-1251] -$response:content-type[$.value[text/html]$.charset[$response:charset]] -$xdoc[^xdoc::create{ - -исходный - -}] -$xdoc[^xdoc.transform[_bug.xsl]] -^xdoc.string[] -#^xdoc.save[_bug-koi.xml;$.encoding[koi8-r]] -#^xdoc.save[_bug-in-request-charset.xml] -
-$request:charset/$response:charset \ No newline at end of file +^connect[oracle://iagency:pwd@oracle]{ + ^string:sql{select 2*2 from dual}
+ ^try{ + ^string:sql{select 2*2x from dual} + }{ + $exception.handled(1) + exception($exception.comment) handled
+ } + ^string:sql{select 2*2 from dual}
+}