[Bug 12010] [XQFTTS] ftmatchoptions-q1

http://www.w3.org/Bugs/Public/show_bug.cgi?id=12010

--- Comment #2 from Tim Mills <tim@cbcl.co.uk> 2011-03-15 15:40:05 UTC ---

ACTION A-467-04, ACTION A-468-03

Using test suite thesauri

XQuery and XPath Full Text 1.0 leaves as implementation-defined the way in
which the hierarchical relationships are queried.  The following explanation
gives an description of how to use the test suite thesauri in a way consistent
with the expected results of tests which use a thesuarus.  

Expansion of an item T exactly 0 times using relationship R turns the item
unchanged.  

* For example, expansion of 'duties' exactly 0 times using relationship "UF"
returns 'duties'
* For example, expansion of 'cheese' exactly 0 times using relationship "UF"
returns 'cheese'

Expansion of an item T exactly 1 time using relationship R returns the item to
which the item U if T is directly related to U by relationship R, or the empty
sequence (i.e. no query items) if T is not directly related by R to any other
term.  For example using the thesaurus in 'usability.xml'.

* For example, expansion of 'duties' exactly 1 time using relationship "UF"
returns 'duty'
* For example, expansion of 'cheese' exactly 1 time using relationship "UF"
returns the empty sequence

Expansion of an item T exactly N times, where N is greater than 1 proceeds by
expanding exactly 1 time the result of exapnding item T exactly N - 1 times.

Expansion of an item T exactly N times, where N is less than zero using
relationship R turns the empty sequence.

* For example, expansion of 'infrastructure' exactly 2 times using relationship
"UF" returns 'Web'
* For example, expansion of 'duties' exactly 2 times using relationship "UF"
returns the empty sequence

Expansion of an item T between N and M times, where M is greater than or equal
to N, returns the union of items returned from expansion of item T exactly P
times for P between N and M.

Expansion of an item T at most N times, where N is greater than or equal to 0,
returns the result of expanding T between 0 and N times.

Expansion of an item T at least N times, where N is greater than or equal to 0,
returns the result of expanding T between N and infinity times.  That is,
expansion continues until the set of items in the expansion does not change.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Tuesday, 15 March 2011 15:40:07 UTC