W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > July to September 2005

[Bug 2065] R-076: Question about content type EMPTY

From: <bugzilla@wiggum.w3.org>
Date: Fri, 09 Sep 2005 02:54:21 +0000
To: www-xml-schema-comments@w3.org
Message-Id: <E1EDZ1x-0003rb-OU@wiggum.w3.org>


           Summary: R-076: Question about content type EMPTY
           Product: XML Schema
           Version: 1.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XSD Part 1: Structures
        AssignedTo: ht@w3.org
        ReportedBy: sandygao@ca.ibm.com
         QAContact: www-xml-schema-comments@w3.org

The {content type} of the following type is EMPTY, according to the rules for 
determining {content type} for complex types:

   <complexType name="foo">
However, it doesn't appear that the {content type} of either of the following 
examples is EMPTY according to these rules. Have I understood the rules 
correctly, and was this intended?

   <complexType name="bar">

   <complexType name="bob">
        <element name="a" minOccurs="0" maxOccurs="0"/>

Received on Friday, 9 September 2005 02:54:24 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:50:03 UTC