Fixed predicate expressions to work correctly with expressions like $a[$i], where the return type of $i is not known at compile time.
Fixed predicate expressions to work correctly with expressions like $a[$i], where the return type of $i is not known at compile time.

svn path=/trunk/eXist-1.0/; revision=927

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