Page 1 of 1

no namespace in Berkeley DB XML

Posted: Mon Sep 17, 2007 11:30 am
by Gertone
I am trying to put some indexes on a Berkeley DB XML container

I have some XML like this in the container
<onDemandInfo>
<sourceContentID>

I have a query
let $a := collection('containerName')/onDemandInfo[sourceContentID = 'someValue']

this is slow in my total process, so I would like to put an index on that

Here are may settings
Node:/onDemandInfo/sourceContentID
further node-element-equality-string

I hope that is OK, I am new to Berkeley indexes

I have an issue with the namespace though,
I can't seem to be able to leave that field empty.
There is no namespace in my XML
Anyone an idea on how I can indicate that the indexes are in the null namespace?
Or is it not the XML that is important for te namespace

Thanks

Geert

Posted: Tue Sep 18, 2007 3:04 pm
by sorin_ristache
Hello,

In the first build of oXygen 8.2 the namespace was not allowed to be null but we corrected the problem in a later build. Please download and install the build available on the Download page (build number 2007062515). In this build the namespace of a Berkeley index can be null.


Regards,
Sorin

That did it

Posted: Tue Sep 18, 2007 8:42 pm
by Gertone
I installed the latest and that seems to work.
Thanks a lot.
Makes me wonder though why you don't communicate to registered users that you upload a patch. But I might have missed some communication

cheers

Geert

Posted: Wed Sep 26, 2007 3:09 am
by randy65
I believe there was some sort of communication about this patch. Not positive though

Randy