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

Erratum E2-43: invalid pattern

From: Sandy Gao <sandygao@ca.ibm.com>
Date: Mon, 28 Apr 2003 16:09:52 -0400
To: www-xml-schema-comments@w3.org
Message-ID: <OF76E877A2.925B7F6E-ON85256D16.006E44DC@torolab.ibm.com>

In E2-43, a pattern was added to the "integer" type:

<xs:pattern value='[+-]?[0-9]+'/>

But according to another erratum E2-18, the above is not a valid regular
expression, because the character '-' is not allowed. It should be

<xs:pattern value='[+\-]?[0-9]+'/>

Sandy Gao
Software Developer, IBM Canada
(1-905) 413-3255
Received on Monday, 28 April 2003 16:10:02 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:50:01 UTC