W3C home > Mailing lists > Public > public-sml@w3.org > June 2007

[Bug 4689] Wrong Indentation on section 3.2, last sample

From: <bugzilla@wiggum.w3.org>
Date: Thu, 21 Jun 2007 21:07:43 +0000
CC:
To: public-sml@w3.org
Message-Id: <E1I1TsV-0002W7-7W@wiggum.w3.org>

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

           Summary: Wrong Indentation on section 3.2, last sample
           Product: SML
           Version: unspecified
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core
        AssignedTo: cmsmcq@w3.org
        ReportedBy: popescu@ca.ibm.com
         QAContact: public-sml@w3.org


The indentation suggests the complex type is being defined within the
EnrolledCourse element declaration. The line containing 
<xs:complexType name="StudentType"> 
should be at the same indentation level with the element definition

<xs:element name="EnrolledCourse" type="sml:refType"
                sml:targetType="tns:CourseType"/>
    <xs:complexType name="StudentType">     <<<<<<<<<<<<<<<<<<<<<<<<<<<<<
        <xs:sequence>
            <xs:element name="ID" type="xs:string"/>
            <xs:element name="Name" type="xs:string"/>
            <xs:element name="EnrolledCourses" minOccurs="0">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element ref="tns:EnrolledCourse"
                                    maxOccurs="unbounded"/>
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
        </xs:sequence>
</xs:complexType>
Received on Thursday, 21 June 2007 21:07:48 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:16:53 GMT