regex for decimal

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 UTC