From: Adam R. <ad...@ex...> - 2011-03-05 15:55:54
|
Actually the test case is fine. I am just developing a fix now, we misinterpreted the specification. I had to read it several times to be sure, but number() has different behaviour depending on whether you pass it an argument or it depends on the context. Should be fixed in 10, just writing the test cases... 2011/3/5 Dannes Wessels <da...@ex...>: > please could you simplify this test case a bit? Isolate what step causes the problem? > > On 5 Mar 2011, at 14:53 , Вячеслав Седов wrote: > >> let $errors := <report/> >> </report> >> return sum($errors//message/(@repeat/number(),1)[1]) >> >> Saxon produce 194 >> eXistDB - NaN > > -- > Dannes Wessels > eXist-db Open Source Native XML Database > e: da...@ex... > w: http://www.exist-db.org > > > > > > > > ------------------------------------------------------------------------------ > What You Don't Know About Data Connectivity CAN Hurt You > This paper provides an overview of data connectivity, details > its effect on application quality, and explores various alternative > solutions. http://p.sf.net/sfu/progress-d2d > _______________________________________________ > Exist-development mailing list > Exi...@li... > https://lists.sourceforge.net/lists/listinfo/exist-development > > -- Adam Retter eXist Developer { United Kingdom } ad...@ex... irc://irc.freenode.net/existdb |