W3C home > Mailing lists > Public > public-qt-comments@w3.org > March 2005

[FT]FTUnaryNot

From: andrewc <andrew.cao@cisra.canon.com.au>
Date: Fri, 11 Mar 2005 12:15:47 +1100
Message-ID: <4230F143.80202@cisra.canon.com.au>
To: public-qt-comments@w3.org

Dear editors,

Regarding the semantics of FTUnaryNot.If we have an AllMatches 
(queryString and queryPos are omitted):

AllMatches
--- Match
      --- StringInclude (pos = 2)
      --- StringInclude (pos = 3)
      --- StringInclude (pos = 4)
--- Match
      --- StringInclude (pos = 1)
      --- StringInclude (pos = 2)
      --- StringInclude (pos = 3)
--- Match
      --- StringInclude (pos = 1)
      --- StringInclude (pos = 2)
      --- StringInclude (pos = 4)
--- Match
      --- StringInclude (pos = 1)
      --- StringInclude (pos = 3)
      --- StringInclude (pos = 4)

If we apply the FTUnaryNot on the above AllMatches, which result shall 
we get back (Result 1 or Result 2)?

Result 1:
AllMatches
--- Match
      --- StringExclude (pos = 2)
      --- StringExclude (pos = 3)
      --- StringInclude (pos = 4)
--- Match
      --- StringExclude (pos = 1)
      --- StringExclude (pos = 2)
      --- StringExclude (pos = 3)
--- Match
      --- StringExclude (pos = 1)
      --- StringExclude (pos = 2)
      --- StringExclude (pos = 4)
--- Match
      --- StringExclude (pos = 1)
      --- StringExclude (pos = 3)
      --- StringExclude (pos = 4)

Result 2:
AllMatches
--- Match
      --- StringExclude (pos = 1)
      --- StringExclude (pos = 2)
      --- StringExclude (pos = 3)
      --- StringExclude (pos = 4)

Thanks,
Received on Friday, 11 March 2005 01:16:23 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:23 UTC