From: Dannes W. <da...@ex...> - 2011-11-18 16:08:04
|
HI, On 18 Nov 2011, at 15:47 , Areki, Alem wrote: > For the following xQuery code path expression it works with version 1.4.0 but not with 1.4.2 sure, there were bugfixes > The fix we come out to make it work on both version (1.4.0 and 1.4.2) is > > for $program in > doc("/db/studyAbroad/studyAbroadPrograms.xml")//program[program_ID = $id] yes, fn:doc() requires the whole document path, actually this should always have been required.... > let $grp-ft := $query/grp-ft/node() why this /node() ? I can't imagine this is required. What is in it, without that info it is difficult to estimate what the ft:query should do. note the subtile displayGroup and displayGroup_s_ ..... cheers Dannes -- Dannes Wessels eXist-db Open Source Native XML Database e: da...@ex... w: http://www.exist-db.org |