atom feed12 messages in net.sourceforge.lists.exist-openRe: [Exist-open] $node/count returnin...
FromSent OnAttachments
Ralf JungJan 9, 2011 2:30 am.xml, .xql
Ralf JungJan 9, 2011 2:36 am 
Dmitriy ShabanovJan 9, 2011 4:50 am 
Ralf JungJan 9, 2011 4:57 am 
Dmitriy ShabanovJan 9, 2011 7:57 am 
Ralf JungJan 9, 2011 8:50 am 
Dmitriy ShabanovJan 9, 2011 9:09 am 
Anton KolevJan 9, 2011 12:32 pm 
Wolfgang MeierJan 9, 2011 2:41 pm 
Wolfgang MeierJan 9, 2011 2:50 pm 
Dmitriy ShabanovJan 9, 2011 8:49 pm 
Ralf JungJan 10, 2011 2:19 am 
Subject:Re: [Exist-open] $node/count returning incurrect results for db-stored nodes
From:Dmitriy Shabanov (
Date:Jan 9, 2011 8:49:36 pm

Confirm, simple remove getDependencies method @FunCount solve issue.

On Mon, Jan 10, 2011 at 3:50 AM, Wolfgang Meier <>wrote:

It is getting late here and I don't want to commit without proper testing, but I think that changing method getDependencies in src/org/exist/xquery/functions/fn/ as follows does fix the issue:

public int getDependencies() { return Dependency.CONTEXT_ITEM | Dependency.CONTEXT_SET; }

-- Dmitriy Shabanov

PS Same issue have: SystemTime FunRemove and some more

function call in xpath navigation have a processing bug. It always fight with optimizer, but optimizer should help. That mean getDependencies should be dictated by optimizer not function.

------------------------------------------------------------------------------ Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions.