Merge souce-cleanup branch into trunk
[SXSI/xpathcomp.git] / tests / xpath-pt / xquery / F4.xql
diff --git a/tests/xpath-pt/xquery/F4.xql b/tests/xpath-pt/xquery/F4.xql
deleted file mode 100644 (file)
index f1ceaac..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-declare namespace fun = 'have.more.fun';
-
-declare function fun:closure($input as node()*, $result as node()*) as node()*
-{
-   let $current := $input/seller/id(@person)/watches/watch/id(@open_auction)
-   let $new := $current except $result 
-   let $all := ($result,$new) 
-   return
-      if(exists($new)) 
-      then ($new, fun:closure($new,$all))
-      else ()
-};
-
-doc()/site/open_auctions/open_auction[position() <= 5]/fun:closure(.,())/interval