Dear Samuel Lacmene ,
sorry for the delay, and thanks for the bug report. First of all, I'd be interested if the bug persists with the latest stable snapshot [1]? If that should be the case, I'be glad if you could provide us with a small example [2] that allows us to reproduce the issue.
Thanks in advance, Christian
[1] http://files.basex.org/releases/latest/ [2] http://sscce.org/