- From: Jeni Tennison <jeni@jenitennison.com>
- Date: Wed, 16 Jan 2002 11:42:03 +0000
- To: "Waterfeld, Dr., Walter" <Walter.Waterfeld@softwareag.com>
- CC: "'xmlschema-dev@w3.org'" <xmlschema-dev@w3.org>
Hi Walter, > is it possible to extend the lexical space of simple datatype, > without changing its value space? No, I'm afraid not. > This would be useful for defining an additional date format for > xs:date, to allow besides 2002-01-16 also 20020116. > > If not any other ideas are welcome how to achieve this. You could run your XML instance document through a normalizer prior to validation, mapping your date format onto the standard date format, and then validate the result. A simple XSLT stylesheet would be one method of doing the normalization, or a SAX filter, or even sed or something. Cheers, Jeni --- Jeni Tennison http://www.jenitennison.com/
Received on Wednesday, 16 January 2002 06:42:10 UTC