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 9136 - Wrong parameter given to op:divide-dayTimeDuration function.
Summary: Wrong parameter given to op:divide-dayTimeDuration function.
Status: CLOSED DUPLICATE of bug 6355
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: Functions and Operators 1.0 (show other bugs)
Version: Recommendation
Hardware: PC All
: P4 minor
Target Milestone: ---
Assignee: Michael Kay
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
Depends on:
Reported: 2010-02-24 10:08 UTC by Donoiu Cristian
Modified: 2012-03-27 23:15 UTC (History)
1 user (show)

See Also:


Description Donoiu Cristian 2010-02-24 10:08:38 UTC

In the examples section: 
divide-dayTimeDuration(xs:yearMonthDuration("P1DT2H30M10.5S"), 1.5)
should be replaced with divide-dayTimeDuration(xs:dayTimeDuration("P1DT2H30M10.5S"), 1.5)
Comment 1 Donoiu Cristian 2010-02-24 10:31:25 UTC
And another one just bellow:

In the examples section:
xs:dayTimeDuration("P2DT53M11S"), xs:dayTimeDuration("P1DT10H)

see missing quote at the end.
Comment 2 Michael Kay 2010-02-24 10:39:43 UTC
This has been fixed in erratum E39, raised in response to bug #6355.

Thanks for your diligence in reporting it.

*** This bug has been marked as a duplicate of bug 6355 ***
Comment 3 Michael Kay 2010-02-24 10:42:18 UTC
The second bug reported in comment #1 was fixed in Erratum E35 raised in response to bug #6342
Comment 4 Michael Kay 2012-03-27 23:15:55 UTC
I am marking this closed because I believe the problems no longer appear in the published Second Edition.