[bugfix] fixed bug in computation of node ids (DLN.precedingSibling), which could lead to all kinds of strange errors (nodes not found, corrupted documents after node update, ...). Fortunately, the bug did only occur with very specific node ids.
[bugfix] fixed bug in computation of node ids (DLN.precedingSibling), which could lead to all kinds of strange errors (nodes not found, corrupted documents after node update, ...). Fortunately, the bug did only occur with very specific node ids.

Port of rev. 7350.

svn path=/branches/eXist-stable-1.2/; revision=7351

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