W3C home > Mailing lists > Public > public-xml-schema-testsuite@w3.org > January 2009

[Bug 6446] New: wrong result for IDREFS_length006_395 and NMTOKENS_length006_438

From: <bugzilla@wiggum.w3.org>
Date: Mon, 19 Jan 2009 13:14:07 +0000
To: public-xml-schema-testsuite@w3.org
Message-ID: <bug-6446-1590@http.www.w3.org/Bugs/Public/>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 19 January 2009 13:14:17 GMT