This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
The following four tests use the regex syntax "a{,2}". This syntax is not valid in XML Schema, but the tests are described as valid. test-set MS-Regex2006-07-15 tests reC65 reC66 reC67 reC68
This bug is also present in the following files: msData/element/elemE001.xsd msData/element/elemE002.xsd msData/element/elemE003.xsd msData/element/elemE004.xsd msData/element/elemE005.xsd
Noted that in 1.0 there is actually a parse for this expression because "{" is a valid Char. (PCRE will try to interpret a quantifier as such if it can, and will treat it as an ordinary string otherwise.) But this would create an unacceptable incompatibility, and is not what the spec intended. This is confirmed by the Note: Note: The regular expression language in the Perl Programming Language [Perl] does not include a quantifier of the form S{,m}, since it is logically equivalent to S{0,m}. We have, therefore, left this logical possibility out of the regular expression language defined by this specification. It may be necessary to fix the spec. Raised bug #5778.
*** Bug 4055 has been marked as a duplicate of this bug. ***
For the re tests, decided to change the metadata to indicate that the schema is invalid. For the element tests, decided to change the schema documents to use a valid regex (change {,5} to {0,5}) as this retains the intent of the tests.
*** Bug 4145 has been marked as a duplicate of this bug. ***