W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > April to June 2000

Re: Questions relating to data types

From: <petsa@us.ibm.com>
Date: Fri, 14 Apr 2000 13:35:22 -0400
To: "Martin Bryan" <mtbryan@sgml.u-net.com>
cc: www-xml-schema-comments@w3.org
Message-ID: <852568C1.00608F82.00@D51MTA03.pok.ibm.com>
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>
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
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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:08:47 UTC