W3C home > Mailing lists > Public > public-qt-comments@w3.org > October 2006

[Bug 3911] Section 2.3

From: <bugzilla@wiggum.w3.org>
Date: Tue, 31 Oct 2006 23:04:15 +0000
CC:
To: public-qt-comments@w3.org
Message-Id: <E1Gf2eV-0005TG-5f@wiggum.w3.org>

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

           Summary: Section 2.3
           Product: XPath / XQuery / XSLT
           Version: Working drafts
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Full Text
        AssignedTo: jim.melton@acm.org
        ReportedBy: mrys@microsoft.com
         QAContact: public-qt-comments@w3.org


Spec says

"for $b score $s 
    in /books/book[content ftcontains "web site" && "usability" 
                   and .//chapter/title ftcontains "testing"]
return $s"

Since ftcontains returns boolean and score, how does it combine score since it
only operates on boolean. We need to make the processing clearer (2nd order
operation applyscore(( E ))). E.g.:
for $i in score $s in Expr where… return … => for $i in Expr let $s :=
applyscore(( Expr[$i] )) where … return …
Received on Tuesday, 31 October 2006 23:04:26 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:14:17 GMT