Hi Andreas,

Thanks for your answer.  I added some cases to your Test-class and I ran it against the newest release of BaseX (6.6).