W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > July to September 2001

RE: error in part 2: production 10 (regex's)

From: Biron,Paul V <Paul.V.Biron@kp.org>
Date: Thu, 26 Jul 2001 15:02:33 -0700
Message-Id: <25BE5EAE9FAED4119A1100805FD42A84BC8BB4@gren-exch-2.ca.kp.org>
To: "'www-xml-schema-comments'" <www-xml-schema-comments@w3.org>
> -----Original Message-----
> From:	Biron,Paul V [SMTP:Paul.V.Biron@kp.org]
> Sent:	Thursday, July 26, 2001 2:23 PM
> To:	'www-xml-schema-comments'
> Subject:	error in part 2: production 10 (regex's)
> 
> It has been pointed out by someone at Microsoft that there is an error in
> production 10 of the regex appendix [1].
> 
> Production 10 currently reads:
> 
> 	[10] Char ::= [^.\?*+()|#x5b#x5d]
> 
> and it should read:
> 
> 	[10] Char ::= [^.\?*+{}()#x5b#x5d]
> 
> The change is the addition of {, }, and the deletion of |.
> 
Opps, I spoke to soon.  The pipe character shouldn't be deleted from
production 10.  Therefore, production 10 should actually read:

	[10] Char ::= [^.\?*+|{}()#x5b#x5d]

This means that another change is necessary, however.

The definition of *metacharacter* currently reads:

	A metacharacter is either ., \, ?, *, +, {, } (, ), [ or ]...
This should be changed to read:
	A metacharacter is either ., \, ?, *, +, |,{, } (, ), [ or ]
That is, | should be added to the list of metacharacters.

pvb
Received on Thursday, 26 July 2001 18:22:20 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 6 December 2009 18:12:51 GMT