Dear Philipp,
I didn't manage to reproduce the issue straight off, so... could you create a small sample XML document that will allow me to reproduce the issue?
Thanks, Christian ________________________________
On Wed, Feb 1, 2012 at 12:06 AM, Philipp Hitzler philipp.hitzler@bettermarks.de wrote:
Hello,
I recently discovered with delight baseX XML Database. I fired all kind of XQueries and was pleased how fast the output popped up in the text window. Now I came across something strange. I have two tags in different namespaces with same name, e.g.
edl:skill and tdl:skill
In the GUI command window I wrote
declare namespace tdl="http://www.bettermarks.com/TDL"; declare namespace edl="http://www.bettermarks.com/EDL"; //edl:skill
and the edl:skill tags/nodes showed up.
Then I tried
declare namespace tdl="http://www.bettermarks.com/TDL"; declare namespace edl="http://www.bettermarks.com/EDL"; //tdl:skill
and the result set was unexpectedly empty. This was in BaseX 7.0.2 on Windows 7.
After that I tried a bit and decided to install the latest snapshot. This time I searched for //tdl:skill first, same command as above, and found the expected tags. But the search for //edl:skill yielded not any result. It feels like the first search "blocks" the second, but maybe/probably there quite different reasons behind this.
I hope I chose the right directory to send my dear problem in and I gladly provide more information on my system, database etc. if needed.
Kind regards, Philipp
-- Using Opera's revolutionary email client: http://www.opera.com/mail/
basex-talk@mailman.uni-konstanz.de