This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
In the Microsoft regex tests, test RegexTest_24 has the following in the schema: <xs:pattern value='{5'/> The metadata describes this as valid. This reveals a problem in the specification. The specification says in the text: (1) An atom is either a ·normal character·, (or other options that aren't relevant here) (2) A normal character is any XML character that is not a metacharacter. (3) A metacharacter is either ., \, ?, *, +, {, } (, ), [ or ]. This would imply that the character "{" cannot be used without escaping, making the above regex invalid. However, the grammar has: [10] Char ::= [^.\?*+()|#x5B#x5D] which permits "{" and "}" without escaping, making the above regex valid.
(Note that the English text and the grammar also disagree about whether "|" is a normal character or a metacharacter).
Bug #5778 has been raised against the spec on this point.
*** This bug has been marked as a duplicate of bug 4015 ***