Fix type conversions.
Fix type conversions.

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

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