Fixed getNodeValue() for case where getDocumentElement() returns ElementImpl.  This fixes a class cast exception for XQTS
Fixed getNodeValue() for case where getDocumentElement() returns ElementImpl.  This fixes a class cast exception for XQTS

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

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