Error in months() function example?

Just doing my action items, one of which requires me to better explain the 
examples for seconds() and months().

Going all the way back to XForms 1.0 first ed., we have the example 
months("P1Y2M") returns 14.

Surely that should be 24, right?!?

The P1 doesn't affect the outcome, the M part expresses zero months, and 
the Y part gives two years, which is 24 months, not 14.

Thanks,
John M. Boyer, Ph.D.
STSM: Lotus Forms Architect and Researcher
Chair, W3C Forms Working Group
Workplace, Portal and Collaboration Software
IBM Victoria Software Lab
E-Mail: boyerj@ca.ibm.com 

Blog: http://www.ibm.com/developerworks/blogs/page/JohnBoyer

Received on Tuesday, 14 August 2007 06:28:34 UTC