W3C home > Mailing lists > Public > public-qt-comments@w3.org > June 2012

[Bug 17600] Range predicates

From: <bugzilla@jessica.w3.org>
Date: Tue, 26 Jun 2012 15:57:42 +0000
Message-Id: <E1SjY98-0001hS-A5@jessica.w3.org>
To: public-qt-comments@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=17600

--- Comment #7 from Michael Kay <mike@saxonica.com> 2012-06-26 15:57:44 UTC ---
>for $s at $p in SEQ
where
  typeswitch($s)
  case op:numeric+ return $p = $s
  default return fn:boolean($s)
return $s

Surely not? It depends on the type of PRED, rather than the type of $s. It must
be something like this:

for $s at $p in SEQ
where
  typeswitch($s/(PRED))
  case op:numeric+ return $p = $s/(PRED)
  default return fn:boolean($s/(PRED))
return $s

-- 
Configure bugmail: https://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 Tuesday, 26 June 2012 15:57:52 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:39 UTC