atom feed12 messages in net.sourceforge.lists.exist-openRe: [Exist-open] $node/count returnin...
FromSent OnAttachments
Ralf JungJan 9, 2011 2:29 am.xml, .xql
Ralf JungJan 9, 2011 2:36 am 
Dmitriy ShabanovJan 9, 2011 4:49 am 
Ralf JungJan 9, 2011 4:57 am 
Dmitriy ShabanovJan 9, 2011 7:56 am 
Ralf JungJan 9, 2011 8:49 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:49 pm 
Dmitriy ShabanovJan 9, 2011 8:49 pm 
Ralf JungJan 10, 2011 2:18 am 
Subject:Re: [Exist-open] $node/count returning incurrect results for db-stored nodes
From:Dmitriy Shabanov (shab@gmail.com)
Date:Jan 9, 2011 8:49:13 pm
List:net.sourceforge.lists.exist-open

Confirm, simple remove getDependencies method @FunCount solve issue.

On Mon, Jan 10, 2011 at 3:50 AM, Wolfgang Meier <wolf@exist-db.org>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/FunCount.java 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. http://p.sf.net/sfu/oracle-sfdevnl