--- parser3/www/htdocs/Attic/_bug.html 2005/01/20 14:10:29 1.80
+++ parser3/www/htdocs/Attic/_bug.html 2005/08/08 13:30:45 1.94
@@ -1,29 +1,5 @@
-@main[]
-^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
- }
-}
-
+$document[^xdoc::load[_bug.xml]]
+$idroot[^document.selectSingle[//games]]
+$idold[^document.selectSingle[//games/lastid]]
+$idremove[^idroot.removeChild[$idold]]
+^document.save[games1.xml]