This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 5868 - [FTUC] xquery full text use case 5.2.4 output is not correct
Summary: [FTUC] xquery full text use case 5.2.4 output is not correct
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: Full Text 1.0 Use Cases (show other bugs)
Version: Working drafts
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: Pat Case
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-15 22:55 UTC by zhen hua liu
Modified: 2008-08-11 19:13 UTC (History)
1 user (show)

See Also:


Attachments

Description zhen hua liu 2008-07-15 22:55:35 UTC
The query should return sequence of attribute node, text node and element node, however, the result is element node, element node, element node.
Comment 1 Pat Case 2008-08-11 12:01:00 UTC
Zhen, 

We have corrected the return statements in the verbal descriptions of the query, in the XPath and XQuery solutions, and in the expected results for 5.2.3, 5.2.4, 5.2.5, and 6.2.2 in a new internal editor's draft of the use cases document.

Once reviewed they will be copied into the test cases.

The changes will also appear in th next public version of the use cases document.
 
We made 2 of return statements use fn:concat to illustrate how to return values instead of elements as we discussed in the Full Text Task Force Meeting of 8/4/2008. The other 2 we reverted to returning $book, so that the found words and the highlighting would be present and instructive of the operator being described. 

If you approve of the changes, please close this bug.

Pat Case, Library of Congress, Member FTTF