[Bug 5879] New: query in extension selection of xquery full text doc is NOT correct

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

           Summary: query in extension selection of xquery full text doc  is
                    NOT correct
           Product: XPath / XQuery / XSLT
           Version: Working drafts
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Full Text 1.0
        AssignedTo: jim.melton@acm.org
        ReportedBy: zhen.liu@oracle.com
         QAContact: public-qt-comments@w3.org


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"} ]


-- 
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 Friday, 18 July 2008 16:23:53 UTC