Bug fix: properly clear the context document set, which is sometimes used for optimizing for loops. Not clearing this leads to strange errors.
Bug fix: properly clear the context document set, which is sometimes used for optimizing for loops. Not clearing this leads to strange errors.

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

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