W3C home > Mailing lists > Public > public-xml-schema-testsuite@w3.org > February 2012

[Bug 15869] New: NMTOKENS_minLength001_1464 should be invalid

From: <bugzilla@jessica.w3.org>
Date: Fri, 03 Feb 2012 13:51:44 +0000
To: public-xml-schema-testsuite@w3.org
Message-ID: <bug-15869-1590@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=15869

           Summary: NMTOKENS_minLength001_1464 should be invalid
           Product: XML Schema Test Suite
           Version: 2006-11-06
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Microsoft tests
        AssignedTo: cmsmcq@blackmesatech.com
        ReportedBy: am_spamfaenger@gmx.at
         QAContact: public-xml-schema-testsuite@w3.org


In test NMTOKENS_minLength001_1464 of set MS-DataTypes2006-07-15 a simple type
restricts xs:NMTOKENS with minLength="0". As defined at
http://www.w3.org/TR/xmlschema11-2/#NMTOKENS, NMTOKENS has minLength="1" making
a restriction with minLength="0" less restrictive and therefore invalid.

In my opinion this testcase should be invalid for schema 1.1 and (but not as
clear as for schema 1.1) also for 1.0.

In schema 1.0 the minLength="1" of NMTOKENS is only defined by "A Schema for
Datatype Definitions" - which is normative. The textual description only
specifies the value space of NMTOKENS as the "set of finite, non-zero-length
sequences of NMTOKENs", but doesn't explicitly define a value for the minLength
facet. So there is some place left for discussions in case of schema 1.0.

-- 
Configure bugmail: https://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 Friday, 3 February 2012 13:51:46 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 3 February 2012 13:51:46 GMT