This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
The following two queries in http://www.w3.org/TR/xpath-full-text-10/#id-extension-selections are NOT correct and have syntax errors. Q1: declare namespace exq = "http://example.org/XQueryImplementation"; /books/book[.//p ftcontains (# exq:distance #) { "web site" ftand "usability" distance at most 1 words] } Q2: declare namespace exq = "http://example.org/XQueryImplementation"; //city[. ftcontains (# exq:classifier with class 'Animals' #) {"animal" with thesaurus at "http://example.org/thesaurus.xml" relationship "RT"} It should be revised below with syntax problem corrected. Q1: declare namespace exq = "http://example.org/XQueryImplementation"; /books/book[.//p ftcontains (# exq:distance #) { "web site" ftand "usability" distance at most 1 words }] Q2: declare namespace exq = "http://example.org/XQueryImplementation"; //city[. ftcontains (# exq:classifier with class 'Animals' #) {"animal" with thesaurus at "http://example.org/thesaurus.xml" relationship "RT"} ]
The Full-Text Task Force has discussed the problem and determined that the solution provided with the bug report is correct. Those changes have been made to the internal draft of the FT spec. We are therefore marking this bug FIXED. Because you were present when the decision was made, we presume that you are satisfied and are also marking the bug CLOSED.