- From: <bugzilla@jessica.w3.org>
- Date: Tue, 07 Feb 2012 13:27:29 +0000
- To: public-xml-schema-testsuite@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=15926
Summary: mgO001 (minOccurs=maxOccurs=0) valid for XSD1.1?
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
I'm not sure if I'm right with my interpretation of the specification, but I
think test mgO001 of set MS-ModelGroups2006-07-15 should be valid for XSD 1.1.
The testcase has a complex type with an all model group with
minOccurs=maxOccurs=0.
In XSD 1.1 this model group will map to no component at all
(http://www.w3.org/TR/xmlschema11-1/#declare-contentModel), resulting in a
complex type with empty content.
So in my opinion it's:
- Valid with respect to schema for schemas.
- There are no schema representation contraints for model groups.
- And it results in no component, so no component constraint is violated.
--
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 Tuesday, 7 February 2012 13:29:18 UTC