Markos Zaharioudakis has proposed merging lp:~zorba-coders/zorba/markos-scratch 
into lp:zorba.

Commit message:
Optimize positional predicates involving inequality (convert them to 
subsequence)

Requested reviews:
  Markos Zaharioudakis (markos-za)

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/markos-scratch/+merge/125880

Optimize positional predicates involving inequality (convert them to 
subsequence)
-- 
https://code.launchpad.net/~zorba-coders/zorba/markos-scratch/+merge/125880
Your team Zorba Coders is subscribed to branch lp:zorba.
=== added file 'test/rbkt/Queries/zorba/optim/pos_pred11.xq'
--- test/rbkt/Queries/zorba/optim/pos_pred11.xq	1970-01-01 00:00:00 +0000
+++ test/rbkt/Queries/zorba/optim/pos_pred11.xq	2012-09-23 14:06:22 +0000
@@ -0,0 +1,3 @@
+variable $doc := <doc><a/><a/><a/><a/><a/></doc>;
+
+($doc/a)[if (position() > 3) then position() else 1]

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to     : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp

Reply via email to