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

ORA-FO-196-E: unnecessary cast to string before cast to duration

From: Stephen Buxton <Stephen.Buxton@oracle.com>
Date: 17 Feb 04 10:33:42
Message-Id: <200402171833.i1HIXgG07631@rgmgw5.us.oracle.com>
To: public-qt-comments@w3.org

SECTION 17.9 : casting to duration types

Fourth bullet, casting from xdt:yearMonthDuration or 
xdt:dayTimeDuration to xs:duration, it is not necessary to
cast SV to string before casting to duration.  The source
value is already a duration; all you have to do is change the
type annotation on it, as explained in section
17.3 "Casting from derived types to parent types".


- Steve B.
Received on Tuesday, 17 February 2004 13:33:45 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:18 UTC