[
Lists Home |
Date Index |
Thread Index
]
- From: Lars Marius Garshol <larsga@garshol.priv.no>
- To: xml-dev@lists.xml.org
- Date: Wed, 08 Nov 2000 11:53:23 +0100
I have recently come across a case where one wants to make an XML
Schema for the interchange syntax for an existing standard based on
relational databases.
This existing standard already has a lexical representation for its
dates, of the form CCYYMMDD. The question is, how can one make an XML
Schema data type for dates that have this lexical representation?
I see that XML Schema allows dates to have a pattern constraining
facet, the question is just how this will be interpreted by tools.
If the pattern were to be defined as
'[12][0-9][0-9][0-9][01][0-9][0-3][0-9]'
what would this mean? Would tools accept it?
--Lars M.
|