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

Re: Erratum E2-43: invalid pattern

From: Henry S. Thompson <ht@cogsci.ed.ac.uk>
Date: 30 Apr 2003 10:07:59 +0100
To: "Sandy Gao" <sandygao@ca.ibm.com>
Cc: www-xml-schema-comments@w3.org
Message-ID: <f5bhe8gnyj4.fsf@erasmus.inf.ed.ac.uk>

"Sandy Gao" <sandygao@ca.ibm.com> writes:

> 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]+'/>

We changed this to 

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

at the last minute, possibly only in the diff'ed REC and not the
errata page -- is that OK, or do we still need the backslash?

  Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
                      Half-time member of W3C Team
     2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
	    Fax: (44) 131 650-4587, e-mail: ht@cogsci.ed.ac.uk
		     URL: http://www.ltg.ed.ac.uk/~ht/
 [mail really from me _always_ has this .sig -- mail without it is forged spam]
Received on Wednesday, 30 April 2003 05:08:01 UTC

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