--- parser3/www/htdocs/Attic/_bug.html 2004/03/10 10:42:12 1.31 +++ parser3/www/htdocs/Attic/_bug.html 2005/01/20 14:10:29 1.80 @@ -1,10 +1,29 @@ @main[] -$request:charset[windows-1251] -$response:charset[windows-1251] -$response:content-type[text/html] +^first[] +^if(def $error){ + ^if(^error.pos[koshmar]>=0){ + $error, TODO:recover + }{ + $error, TODO:die + } +} +@first[] +^second[] +^if(!def $error){ + working1 +} +@second[] +^if(^math:random(2)){ + $error[koshmar,test1] +} +^if(!def $error){ + working2 + + ^if(^math:random(2)){ + $error[uzhas,test2] + } + ^if(!def $error){ + working3 + } +} -$xdoc[^xdoc::load[_bug.xml]] -#^xdoc.string[] -$xdoc.search-namespaces.x[http://pif.design.ru/] -$nodes[^xdoc.select[//x:second]] -^nodes._count[]