- From: <bugzilla@wiggum.w3.org>
- Date: Mon, 19 Jan 2009 13:14:07 +0000
- To: public-xml-schema-testsuite@w3.org
http://www.w3.org/Bugs/Public/show_bug.cgi?id=6446
Summary: wrong result for IDREFS_length006_395 and
NMTOKENS_length006_438
Product: XML Schema Test Suite
Version: 2006-11-06
Platform: Other
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Microsoft tests
AssignedTo: ht@inf.ed.ac.uk
ReportedBy: tobias.koenig@trolltech.com
QAContact: public-xml-schema-testsuite@w3.org
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
--
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Monday, 19 January 2009 13:14:17 UTC