Re: [basex-talk] db:replace() in DBA resulting in duplicates

2019-04-29 Thread Christian Grün
> Still, when I browse the database, the /DB/path only exists once (as far as I > can see from the sorting), but querying is giving me two documents, according > to db:path() living in the same path. > This should never happen, should it? This is surprising indeed. Right now, db:add is still

Re: [basex-talk] db:replace() in DBA resulting in duplicates

2019-04-29 Thread Zimmel, Daniel
Oddly enough, I cannot reproduce by myself! Still, when I browse the database, the /DB/path only exists once (as far as I can see from the sorting), but querying is giving me two documents, according to db:path() living in the same path. This should never happen, should it? I will simply drop

Re: [basex-talk] db:replace() in DBA resulting in duplicates

2019-04-29 Thread Christian Grün
Hi Daniel, seems hard to reproduce. Could you tell me what you did step by step? This is what I tried: 1. I created a DB database. 2. I added the document to the database path /path/file.xml. 3. I replaced this document with the same document via the DBA. 4. Your query