[basex-talk] Bug (?) in fn:generate-id

2018-08-30 Thread Hans-Juergen Rennau
Dear BaseX team, I face an issue with fn:generate-id. Given: a document $doc parsed from the file system.Nodes obtained by    xquery_eval(EXPR, map{'':$doc}) and nodes obtained by   $doc/EXPR have the same identity (per $node1 is $node2), but the values generated by fn:generate-id differ. Interes

Re: [basex-talk] BaseX insert/delete node performance

2018-08-30 Thread BIRKNER Michael
Hi Christian, thank you for your reply again. I will try to create a complete example and come back to you with it in some days (I am just about to travel at the moment so I have to find some time for it). Maybe, while creating the example, I'll find the error myself. In that case I also will

Re: [basex-talk] DB connection between classes

2018-08-30 Thread Christian Grün
Dear Karina, Thanks to for mail. It’s difficult to guess what might happen in your test cases. How do you access BaseX? How do you open a BaseX? Best, Christian On Wed, Aug 29, 2018 at 11:21 PM Karina C. Malavazi <929...@gmail.com> wrote: > > > Hello, > > I'm new on Java programming and also

Re: [basex-talk] BaseX insert/delete node performance

2018-08-30 Thread Christian Grün
Hi Michael, > So when this XQuery is executed the second time: > > let $parent := db:open('DB_Name')/path/to/parent/node > return insert node Example 1Example > 2 into $parent > > ... the error is thrown. In order to understand what might go wrong, I would once again be thankful if you could pro