implement createElement method & try to workaround if no context is set (NPE)
implement createElement method & try to workaround if no context is set (NPE)

svn path=/trunk/eXist/; revision=11950

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