- From: Xavier C. FRANC <xfranc@online.fr>
 - Date: Tue, 01 Jul 2003 22:13:10 +0000
 - To: public-qt-comments@w3.org
 
It seesm that the use-case 1.1.9.4 Q4 (may 2003) is erroneous:
1) the comment below the query mentions a use of deep-equal() which is not present 
in the query.
2) in the expected result, the "author" element enclosing the last and first names
    e.g:
         <author>
             <last>Stevens</last>
             <first>W.</first>
         </author>
    cannot be generated by the query:
     for $last in distinct-values($a/last),
         $first in distinct-values($a[last=$last]/first)
     return
         <result>
             { $last, $first }
     ...
  either <author> has to be removed in the result,
  or it has to be added in the query, like this:
     return
         <result>
             <author>{ $last, $first }</author>
-- 
Xavier C. FRANC
Received on Tuesday, 1 July 2003 17:04:35 UTC