- From: Ashok Malhotra <petsa@us.ibm.com>
- Date: Fri, 9 Feb 2001 07:54:21 -0500
- To: Jing Wu <jing@research.canon.com.au>
- Cc: xmlschema-dev@w3.org
No, the alternate formats you suggest are not supported.
These formats are similar to proposed SQL formats that define
a period of time with a start instant and an end instant, a start
and a duration, etc. If you have a need to represent such data
you should create a complex type that contains children with
the two values.
All the best, Ashok
Jing Wu <jing@research.canon.com.au>@w3.org on 02/08/2001 06:50:02 PM
Sent by: xmlschema-dev-request@w3.org
To: xmlschema-dev@w3.org
cc:
Subject: About timeDuration format
Hi,
According to XML Schema Part 2 3.2.6, timeDuration's format is
PnYnMnDTnHnMnS.
This is the basic format of time duration. Does timeDuration allow other
alternative formats,
such as
CCYYMMDDThhmmss/CCYYMMDDThhmmss
CCYYMMDDThhmmss/PnYnMnDTnHnMnS
PnYnMnDTnHnMnS/CCYYMMDDThhmmss
CCYY-MM-DDThh:mm:ss/CCYY-MM-DDThh:mm:ss
CCYY-MM-DDThh:mm:ss/PnYnMnDTnHnMnS
PnYnMnDTnHnMnS/CCYY-MM-DDThh:mm:ss
Thanks in advance!
Jing
Received on Friday, 9 February 2001 07:54:27 UTC