- From: Michael Dyck <MichaelDyck@home.com>
- Date: Thu, 01 Mar 2001 23:25:09 -0800
- To: www-xml-query-comments@w3.org
XML Query Use Cases W3C Working Draft 15 February 2001 In 1.1.2, bib.xml gives book titles with no leading or trailing spaces, but in 1.1.4, reviews.xml gives two of the titles with a leading space. In order to obtain the Expected Result for Q5 (1.1.9.5), the query processor must know to ignore the leading space. Was this an intentional requirement? The "Solution in XQuery" uses $b/title = $a/title which (as far as XPath is concerned) is a character-for-character comparison of the string-values of two elements, which would *not* succeed if one of the titles had a leading space. (This comment is a repeat of http://lists.w3.org/Archives/Public/www-xml-query-comments/2000Dec/0003.html which doesn't appear to have received a response.) -Michael Dyck
Received on Friday, 2 March 2001 02:28:53 UTC