Norm, On 18 May 2008, at 00:20, Norman Walsh wrote: > I propose that we say: > > - It is an error if the group-adjacent expression returns a sequence > - In an XPath 1.0 impl, the string-values of each expression are > compared > - In an XPath 2.0 impl, the ... uh? atomic value? ... of each expr > are compared I agree with the first two. On the last, in XSLT, it says: "The grouping keys are the items in the sequence obtained by evaluating the expression contained in the group-by attribute or group- adjacent attribute, atomizing the result, and then casting an xs:untypedAtomic value to xs:string." For XPath 2.0, we should *atomize* the result and cast to a string. (Taking the atomic value isn't right because elements with complex content don't have atomic values.) Cheers, Jeni -- Jeni Tennison http://www.jenitennison.comReceived on Monday, 19 May 2008 15:27:34 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 19 May 2008 15:27:35 GMT