- From: andrewc <andrew.cao@cisra.canon.com.au>
- Date: Mon, 18 Jul 2005 10:54:34 +1000
- To: public-qt-comments@w3.org
Dear editors, This is a comment of the last example in section 3.1.9 FTDistance in XQuery and XPath Full Text Working Draft. The Working Draft says: --- /book[@number="1" and . ftcontains "web site" && "completion" distance exactly 15 words same paragraph]/title returns the title element if the words "web site" and "completion" appear within 15 words of each other and in the same paragraph. --- However the semantic function of FTDistance says that the adjacent StringIncludes must have distance exactly 15 words. However here the StringInclude for "web" and the StringInclude for "site" will always have word distance zero. So this query should never return title element because there is no Match returned by FTDistance. It appears to me that FTDistance is related with words, not phrases. Am I correct? Thanks,
Received on Monday, 18 July 2005 00:57:08 UTC