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 4689 - Wrong Indentation on section 3.2, last sample
Summary: Wrong Indentation on section 3.2, last sample
Status: RESOLVED FIXED
Alias: None
Product: SML
Classification: Unclassified
Component: Core (show other bugs)
Version: unspecified
Hardware: PC Windows XP
: P2 normal
Target Milestone: FPWD
Assignee: Valentina Popescu
QA Contact: SML Working Group discussion list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-21 21:07 UTC by Valentina Popescu
Modified: 2007-06-21 21:17 UTC (History)
0 users

See Also:


Attachments

Description Valentina Popescu 2007-06-21 21:07:38 UTC
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>
Comment 1 Valentina Popescu 2007-06-21 21:17:39 UTC
fixed