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

http://www.w3.org/Bugs/Public/show_bug.cgi?id=2065

           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">
     <sequence>
     </sequence>
   </complexType>
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">
     <sequence>
       <sequence>
       </sequence>
     </sequence>
   </complexType>

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

See:
http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001OctDec/0044.html

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