OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   XML Schema date syntax

[ 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 


what would this mean? Would tools accept it?

--Lars M.


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS