lexical value of timeDuration

Dear XML Schema WG members,

First of all, thank you for your answers given to a series of my questions.


In section 3.2.6.1 of part 2,

The first bullet says
> The lowest order items may be omitted. If omitted their value is
> assumed to be zero. 

It seems to me that this statement implies that only the lowest order
items can be omitted.

However, the third bullet says the opposite:

> If the number of years, months, days, hours, minutes, or seconds in any
> expression equals zero, the number and its corresponding designator may
> be omitted. However, at least one number and its designator must be
> present

This statement can be interpreted that any items can be omitted as long
as at least one is present.
If the third is true, why do we need the first bullet?


And the second bullet is also confusing. In the first paragraph of
section 3.2.6.1, the spec says

> The number of seconds can include decimal digits

Of course, this should implies that the other items cannot have decimal
fractions. However, the second bullet says

> The lowest order item may have a decimal fraction.

What does it mean by "the lowest order item"?  I guess it's the right
most number that is present, but if so, why does it explicitly state
that "the number of seconds can include decimal digits"?

In other words, is "P0.1D" allowed as a lexical value of "timeDuration"?


Oh please, give me a formal definition of acceptable lexical values.


regards,
----------------------
K.Kawaguchi
E-Mail: k-kawa@bigfoot.com

Received on Tuesday, 30 January 2001 17:09:22 UTC