session attribute might be an XQuery value, so cast to String fails.
session attribute might be an XQuery value, so cast to String fails.

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

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