End the the second circle of predicate hell. Completely rewritten in a cleaner way. Still have to consider performance (should be easy), but there is a regression in the XQTS for : (0, 1, 2)[remove((1, "a string"), 2)]
End the the second circle of predicate hell. Completely rewritten in a cleaner way.
Still have to consider performance (should be easy), but there is a regression in the XQTS for :
(0, 1, 2)[remove((1, "a string"), 2)]

svn path=/trunk/eXist/; revision=5852

opax/exist,hungerburg/exist,kohsah/exist,lcahlander/exist,MjAbuz/exist,ljo/exist,jessealama/exist,jessealama/exist,lcahlander/exist,shabanovd/exist,hungerburg/exist,windauer/exist,ambs/exist,zwobit/exist,wshager/exist,olvidalo/exist,wshager/exist,RemiKoutcherawy/exist,patczar/exist,joewiz/exist,dizzzz/exist,opax/exist,hungerburg/exist,wolfgangmm/exist,ljo/exist,adamretter/exist,windauer/exist,olvidalo/exist,joewiz/exist,eXist-db/exist,wolfgangmm/exist,ambs/exist,wshager/exist,RemiKoutcherawy/exist,shabanovd/exist,opax/exist,eXist-db/exist,kohsah/exist,wolfgangmm/exist,MjAbuz/exist,windauer/exist,patczar/exist,joewiz/exist,patczar/exist,jessealama/exist,RemiKoutcherawy/exist,wshager/exist,zwobit/exist,dizzzz/exist,windauer/exist,wolfgangmm/exist,zwobit/exist,kohsah/exist,wshager/exist,RemiKoutcherawy/exist,olvidalo/exist,adamretter/exist,jessealama/exist,patczar/exist,ljo/exist,wolfgangmm/exist,shabanovd/exist,ambs/exist,olvidalo/exist,patczar/exist,wolfgangmm/exist,shabanovd/exist,shabanovd/exist,jensopetersen/exist,joewiz/exist,jensopetersen/exist,hungerburg/exist,MjAbuz/exist,jensopetersen/exist,RemiKoutcherawy/exist,adamretter/exist,opax/exist,eXist-db/exist,jensopetersen/exist,kohsah/exist,zwobit/exist,shabanovd/exist,ljo/exist,MjAbuz/exist,jensopetersen/exist,lcahlander/exist,jessealama/exist,ambs/exist,adamretter/exist,joewiz/exist,windauer/exist,olvidalo/exist,ljo/exist,RemiKoutcherawy/exist,dizzzz/exist,wshager/exist,kohsah/exist,dizzzz/exist,adamretter/exist,kohsah/exist,zwobit/exist,eXist-db/exist,lcahlander/exist,MjAbuz/exist,ambs/exist,lcahlander/exist,lcahlander/exist,adamretter/exist,dizzzz/exist,jensopetersen/exist,ljo/exist,ambs/exist,zwobit/exist,hungerburg/exist,jessealama/exist,eXist-db/exist,dizzzz/exist,eXist-db/exist,joewiz/exist,opax/exist,MjAbuz/exist,windauer/exist,patczar/exist