Dear Martin
Thank you for investigating.
The "text1, , text2" I only see if oXygen shows the result as a sequence in its result viewer; I would suggest to ask the oXygen support why you get that result for that case, it seems like some quirk in their result viewer (it shows two xs:string items but for reasons I can't investigate serializes the two items for the result viewer as "text1, , text2").
This is incredible news. I will get to Oxygen about that. Really troubling …
Blessings, Leo
basex-talk@mailman.uni-konstanz.de