Sync with 5.4.2
[deliverable/titan.core.git] / regression_test / XML / XmlWorkflow / XmlTest_xsds / XmlTest_complex_extension.xsd
1 <!--
2 Copyright (c) 2000-2015 Ericsson Telecom AB
3
4 All rights reserved. This program and the accompanying materials
5 are made available under the terms of the Eclipse Public License v1.0
6 which accompanies this distribution, and is available at
7 http://www.eclipse.org/legal/epl-v10.html
8 -->
9 <schema xmlns="http://www.w3.org/2001/XMLSchema"
10 xmlns:ns39="www.XmlTest.org/complex_extension"
11 targetNamespace="www.XmlTest.org/complex_extension">
12 <annotation>
13 <documentation xml:lang="en">
14 This documentum tests based on
15 XML Schema Part 0: Primer Second Edition
16 4.2 Deriving Types by Extension
17 </documentation>
18 </annotation>
19
20 <complexType name="MySubjects3">
21 <sequence>
22 <element name="English" type="string" minOccurs="0"/>
23 <element name="Math" type="string" minOccurs="0"/>
24 <element name="Physics" type="string" minOccurs="0"/>
25 <element name="Chemistry" type="string" minOccurs="0"/>
26 </sequence>
27 <attribute name="Year" type="gYear"/>
28 </complexType>
29
30 <complexType name="MySubjects3Extension">
31 <complexContent>
32 <extension base="ns39:MySubjects3">
33 <sequence>
34 <element name="Arts" type="string"/>
35 </sequence>
36 <attribute name="Semester" type="string"/>
37 </extension>
38 </complexContent>
39 </complexType>
40
41 </schema>
This page took 0.031842 seconds and 5 git commands to generate.