This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
http://www.w3.org/TR/xpath-full-text-10-use-cases/#axes-queries-results-q4 The output of the query in solution should be <title> element nodes and <chapter> elemenot nodes, NOT <book> element nodes as shown as expected result.
Zhen, I handled this as editorial. I corrected the result statement in the XQuery Solution to contain only the title and chapter elements. I searched the rest of the document to be sure that $book/metadata/title was handled correctly whenever it appeared in a return statement and found no other problems. The correction will appear internally after the next use cases build. I will send the FTTF an alert when it is ready. Please review and if you agree with the change, close the bug. Pat