Dear Christian,

thank you very much for this detailed explanation, and I understand your 
decision to leave things as they are, for the time being, very well. I will 
proceed to adapt my programs to the current version.

Cordial greetings,
Hans-Jürgen



Christian Grün <christian.gr...@gmail.com> schrieb am 10:53 Samstag, 
13.September 2014:
 


Dear Hans-Jürgen,

> perhaps I misunderstand something, but I would have thought that
> "copy-namespaces inherit" has nothing to do with database vs. file system.

Yes, generally, all XQuery features are completely database-agnostic.
The problem is that it is much more straightforward and efficient to
support the copy-namespaces options in XML main-memory fragments than
it is in a database representation (and BaseX has to deal with both
representations, in contrast to Saxon, Zorba, XMLPrime, MXQuery, and
others). Of course, this is only my experience with BaseX (and as far
as I know there is no other database-centered XQuery processor that
provides bug free support of this option).

> Let me briefly report to you WHY I need to attach namespaces independently
> of their use in element and attribute names. [...]

Thanks for presenting your scenario. I don't have an intermediate idea
how to add namespace declarations without XQuery 3.0 (maybe someone
else has?), so it's probably best if you stick with Version 7.7 of
BaseX for now. I am sorry for that, and I can understand your point of
view that the "new behavior is a bug". From our point of view, the old
behavior of BaseX was just as buggy, even if it did not fail in your
use cases, and hard to maintain. I would love to see this fixed in
8.0, but it's a question of free time and resources (my day is limited
to 24 hours..).


Christian

Reply via email to