This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 9737 - Ill-formed example code
Summary: Ill-formed example code
Status: CLOSED FIXED
Alias: None
Product: XML Schema
Classification: Unclassified
Component: Structures: XSD Part 1 (show other bugs)
Version: 1.1 only
Hardware: PC Windows NT
: P2 minor
Target Milestone: ---
Assignee: David Ezell
QA Contact: XML Schema comments list
URL:
Whiteboard:
Keywords: resolved
: 11216 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-05-14 20:06 UTC by Michael Kay
Modified: 2010-11-04 14:37 UTC (History)
2 users (show)

See Also:


Attachments

Description Michael Kay 2010-05-14 20:06:38 UTC
In 3.8.4.1.3 this example code is ill-formed:

<xs:all>
   <xs:element name="a" minOccurs="0" maxOccurs="5">
   <xs:element name="b" minOccurs="1" maxOccurs="1">
   <xs:element name="c" minOccurs="0" maxOccurs="5">
   </xs:element>
  </xs:all>
Comment 1 David Ezell 2010-05-21 15:21:30 UTC
WG agrees that this is an obvious error.
Comment 2 C. M. Sperberg-McQueen 2010-08-16 17:15:24 UTC
Fixed in the new status quo document at

  http://www.w3.org/XML/Group/2004/06/xmlschema-1/structures.html#group-recognition

Michael, would you do the honors please?
Comment 3 Michael Kay 2010-11-04 14:37:15 UTC
*** Bug 11216 has been marked as a duplicate of this bug. ***