[Bug 15869] New: NMTOKENS_minLength001_1464 should be invalid

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug 15869] New: NMTOKENS_minLength001_1464 should be invalid

Bugzilla from bugzilla@jessica.w3.org
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: [hidden email]
        ReportedBy: [hidden email]
         QAContact: [hidden email]


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.

Reply | Threaded
Open this post in threaded view
|

[Bug 15869] NMTOKENS_minLength001_1464 should be invalid

Bugzilla from bugzilla@jessica.w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=15869

--- Comment #1 from Andreas Meissl <[hidden email]> 2012-02-06 11:02:50 UTC ---
The same for test NMTOKENS_minLength004_1467 and a similar case in
NMTOKENS_maxLength001_1468 (maxLength="0" of restricted type isn't greater than
or equal to minLength="1" of xs:NMTOKENS).

--
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.

Reply | Threaded
Open this post in threaded view
|

[Bug 15869] NMTOKENS_minLength001_1464 should be invalid

Bugzilla from bugzilla@jessica.w3.org
In reply to this post by Bugzilla from bugzilla@jessica.w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=15869

--- Comment #2 from Andreas Meissl <[hidden email]> 2012-02-06 14:34:52 UTC ---
Other similar cases are positiveInteger_maxExclusive001_1834 and
positiveInteger_maxExclusive002_1835 in the same test set, where
maxExclusive="1" in the derived type conflicts with minInclusive="1" of the
built-in type definition xs:positiveInteger.

--
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.

Reply | Threaded
Open this post in threaded view
|

[Bug 15869] NMTOKENS_minLength001_1464 should be invalid

Bugzilla from bugzilla@jessica.w3.org
In reply to this post by Bugzilla from bugzilla@jessica.w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=15869

David Ezell <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |decided
                 CC|                            |[hidden email]

--- Comment #3 from David Ezell <[hidden email]> 2012-03-09 17:16:02 UTC ---
Resolution:  WG agrees that the test should be invalid for both 1.0 and 1.1.

--
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.

Reply | Threaded
Open this post in threaded view
|

[Bug 15869] NMTOKENS_minLength001_1464 should be invalid

Bugzilla from bugzilla@jessica.w3.org
In reply to this post by Bugzilla from bugzilla@jessica.w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=15869

Michael Kay <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |[hidden email]
         Resolution|                            |FIXED

--- Comment #4 from Michael Kay <[hidden email]> 2012-03-09 23:55:01 UTC ---
I have fixed the expected results of these tests in CVS.

--
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.