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

regex for decimal

From: Sandy Gao <sandygao@ca.ibm.com>
Date: Fri, 10 Jun 2005 17:34:02 -0400
To: www-xml-schema-comments@w3.org
Message-ID: <OFB245E856.60FF9A17-ON8525701C.0075ED26-8525701C.00767A22@ca.ibm.com>
In section 3.2.3.1 of the schema 1.1 part 2 working draft [1],

-?(([0-9]+(.[0-9]*)?)|(.[0-9]+))

Which implies that +100000.00 (the example given right above the regex) is 
invalid, because leading + sign is not allowed...

[1] http://www.w3.org/TR/xmlschema11-2/#decimal

Thanks,
Sandy Gao
XML Parser Development, IBM Canada
(1-905) 413-3255
sandygao@ca.ibm.com
Received on Friday, 10 June 2005 21:34:05 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 23 October 2007 06:13:36 GMT