Fixed: incomplete sequence type checks for variables bound in let statements. For example:
Fixed: incomplete sequence type checks for variables bound in let statements. For example:

let $x as element(assignfffffffffffff)* := $w/assign

did not generate an error.

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

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