This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
http://www.w3.org/TR/xquery-operators/#func-divide-dayTimeDuration In the examples section: divide-dayTimeDuration(xs:yearMonthDuration("P1DT2H30M10.5S"), 1.5) should be replaced with divide-dayTimeDuration(xs:dayTimeDuration("P1DT2H30M10.5S"), 1.5)
And another one just bellow: http://www.w3.org/TR/xquery-operators/#func-divide-dayTimeDuration-by-dayTimeDuration In the examples section: xs:dayTimeDuration("P2DT53M11S"), xs:dayTimeDuration("P1DT10H) see missing quote at the end.
This has been fixed in erratum E39, raised in response to bug #6355. http://www.w3.org/XML/2007/qt-errata/xpath-functions-errata.html#E39 Thanks for your diligence in reporting it. *** This bug has been marked as a duplicate of bug 6355 ***
The second bug reported in comment #1 was fixed in Erratum E35 raised in response to bug #6342 http://www.w3.org/XML/2007/qt-errata/xpath-functions-errata.html#E35
I am marking this closed because I believe the problems no longer appear in the published Second Edition.