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

[Bug 2944] [FO] 10.5 fn:years-from-duration etc have wrong argument types

From: <bugzilla@wiggum.w3.org>
Date: Mon, 27 Feb 2006 18:13:53 +0000
To: public-qt-comments@w3.org
Cc:
Message-Id: <E1FDmsb-0005RI-38@wiggum.w3.org>

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





------- Additional Comments From per@bothner.com  2006-02-27 18:14 -------
(In reply to comment #1)
> Durations in XML Schema 1.0 are 6-tuples, which would suggest that
> years-from-duration(P24M) (excuse the shorthand) should return zero;
> while in XML schema 1.1, durations are 2-tuples, which would suggest
> that the same function returns 2. 

More directly to the point: F&O 10.3.1.3 defines
  fn:years-from-duration(fn:yearMonthDuration("P24M"))
to return 2, not 0.  I.e. F&O already follows the XML schema 1.1 model.
Received on Monday, 27 February 2006 18:13:58 UTC

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