This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 1568 - [F+O] Unnecessary assumption in example
Summary: [F+O] Unnecessary assumption in example
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: Functions and Operators 1.0 (show other bugs)
Version: Last Call drafts
Hardware: PC Windows XP
: P2 minor
Target Milestone: ---
Assignee: Ashok Malhotra
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
Depends on:
Reported: 2005-07-13 15:34 UTC by Michael Kay
Modified: 2007-02-25 23:41 UTC (History)
0 users

See Also:


Description Michael Kay 2005-07-13 15:34:10 UTC
In Examples, the example is preceded with a statement about the
assumed implicit timezone. However, the result of this expression does not
depend on the implicit timezone.
Comment 1 Ashok Malhotra 2005-07-21 22:41:31 UTC
I'm afraid I disagree.  Look at the first example:

op:time-less-than(xs:time("12:00:00"), xs:time("23:00:00+06:00")) returns false.

This returns 'false' as the two times are equal based on the implicit timezone
value of -05:00.  If the implicit timezone was, say, -04:00 the result would be
Comment 2 Michael Kay 2005-07-21 22:49:45 UTC
What I read in (4 April 2005 edition) is: Examples

Assume that the dynamic context provides an implicit timezone value of -05:00.

    * op:time-greater-than(xs:time("08:00:00+09:00"), xs:time("17:00:00-06:00"))
returns false.

You seem to be looking at

Comment 3 Ashok Malhotra 2005-07-21 23:14:49 UTC
The section numbers seem to have changed.  The example you refer to is now in  I'll fix that.
Comment 4 Jim Melton 2007-02-25 23:41:09 UTC
Closing bug because commenter has not objected to the resolution posted and more than two weeks have passed.