Re: [MarkLogic Dev General] Wrong Behavior of Term-Query vs. Value-Query

2018-03-19 Thread Will Thompson
Hi Hubertus, I would not expect that behavior, so probably the best thing to do is contact ML support if you have not already done so. My understanding is that element value queries use the same index data structures under the hood as word/term queries, so I would not expect fewer results for a

Re: [MarkLogic Dev General] Importing a module from another imported module

2018-03-19 Thread Florent Georges
Not exactly. You can have several library modules with the same namespace URI, but you have to import them all explicitly in the import statement: import module namespace ns = "http://ns"; at "/test/one.xqy", "/test/two.xqy"; $ns:var1, $ns:var2 ==> ('variable1', 'variable2') Not that it is a

Re: [MarkLogic Dev General] Importing a module from another imported module

2018-03-19 Thread Evgeny Degtyarev
Oh, I see. Thank you Ron! Regards, -- *Evgeny* On Mon, Mar 19, 2018 at 4:07 PM, Ron Hitchens wrote: > >Each module should have a unique namespace. > > > Ron Hitchens r...@overstory.co.uk, +44 7879 358212 <+44%207879%20358212> > > > On March 19, 2018 at 2:46:42 PM, Evgeny Degtyarev ( >

Re: [MarkLogic Dev General] Importing a module from another imported module

2018-03-19 Thread Ron Hitchens
Each module should have a unique namespace. Ron Hitchens r...@overstory.co.uk, +44 7879 358212 On March 19, 2018 at 2:46:42 PM, Evgeny Degtyarev ( evgeny.degtya...@lambdawerk.com) wrote: I have three files: module.application1.xqy xquery version "1.0-ml"; module names

[MarkLogic Dev General] Importing a module from another imported module

2018-03-19 Thread Evgeny Degtyarev
I have three files: module.application1.xqy xquery version "1.0-ml"; module namespace ns = "http://ns";; import module "http://ns"; at "module .xqy"; declare variable $var1 := 'variable1'; module.xqy xquery version "1.0-ml"; module namespace ns = "http://ns";;