Re: Questions relating to data types

Martin:
Thanks for your comments.  I've replied in the body of your note below.
My remarks are prefixed by AM>>

All the best, Ashok


"Martin Bryan" <mtbryan@sgml.u-net.com>@w3.org on 04/13/2000 10:27:21 AM

Sent by:  www-xml-schema-comments-request@w3.org


To:   <www-xml-schema-comments@w3.org>
cc:
Subject:  Questions relating to data types



What does it mean to apply a pattern to a timeDuration?
AM>> The pattern facet allows you to constrain the lexical representation
AM>> of the datatype. For time duration you could, for example, write
AM>> a pattern that starts with P100Y.  This would mean that the the
AM>> duration must be greater than 100 years.

Why does the example given of a timeInstance not have a Z before the last
hyphen?
AM>> The example is correct.  A "Z" is not required and would be an error.

Why is the period facet of time shown as PY24H rather than PT24H? (Again
there is no Z preceding the timezone details in the example.)
AM>> It should be PT24H.  Thanks.  A "Z" is not required.

If you define a minInclusive or minExclusive date for a recurring duration
whose period is 7 days will the days always fall on the same day of the
week as the first date within the period (i.e. the minInclusive date)?
AM>> Yes, it would.

How can enumeration be applied to the binary datatype?
AM>> In theory you could define an enumeration by quoting hunks of, say,
AM>> base64 encoded binary data.

Martin Bryan
Project Leader
CEN/ISSS EC Workshop DAMSAD project

Received on Friday, 14 April 2000 13:35:45 UTC