This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Hej, the two test cases mentioned above are marked as invalid, as they define simple types with both, a minLength and length, set. The rule that should cause this error is http://www.w3.org/TR/xmlschema11-2/#length-coss: 1 It is an error for minLength to be a member of {facets} however there is the subrule: 1.2 unless there is some type definition from which this one is derived by one or more ·restriction· steps in which minLength has the same {value} and length is not specified. Actually 1.2 matches on the two mentioned test cases. Both, IDREFS and NMTOKENS defines a minLength facet with value '1' in the schema spec (at least in schema 1.1 explicitly), so rule 1.2 applies and the facet is valid, so both test cases should be marked as valid
I agree, in my view both these schemas are valid in both 1.0 and 1.1. (For info, Saxon 9.1 rejects them, 9.2 accepts them)
WG agreed that this test as it is is disputedTest, and the WG has agreed that it should actually be marked valid.