Re: [MarkLogic Dev General] Inconsistent order returned by order by clause

2011-09-01 Thread Geert Josten
-Oorspronkelijk bericht- Van: general-boun...@developer.marklogic.com [mailto:general-boun...@developer.marklogic.com] Namens Ron Hitchens Verzonden: woensdag 31 augustus 2011 21:38 Aan: General MarkLogic Developer Discussion Onderwerp: Re: [MarkLogic Dev General] Inconsistent order returned by order

Re: [MarkLogic Dev General] Inconsistent order returned by order by clause

2011-09-01 Thread Florent Georges
Michael Blakeley wrote:   Hi, The final XPath step '.../dateline' reorders the results into node order, as specified by the W3C.  A sequence of constructed nodes has indeterminate node order, so you will see unpredictable results.   More precisely, nodes from different trees have

[MarkLogic Dev General] Inconsistent order returned by order by clause

2011-08-31 Thread Jake Trent
MarkLogic friends, When I run this script in CQ, why does the resulting order change every time I run it?: let $articles := ( articledateline2011-08-21/dateline/article , articledateline2011-04-21/dateline/article , articledateline2011-02-21/dateline/article ,

Re: [MarkLogic Dev General] Inconsistent order returned by order by clause

2011-08-31 Thread Michael Blakeley
The final XPath step '.../dateline' reorders the results into node order, as specified by the W3C. A sequence of constructed nodes has indeterminate node order, so you will see unpredictable results. You can see similar behavior with sequences of attributes, which also have indeterminate node

Re: [MarkLogic Dev General] Inconsistent order returned by order by clause

2011-08-31 Thread Ron Hitchens
On Aug 31, 2011, at 8:16 PM, Michael Blakeley wrote: The final XPath step '.../dateline' reorders the results into node order, as specified by the W3C. A sequence of constructed nodes has indeterminate node order, so you will see unpredictable results. You can see similar behavior with