Sync with 5.4.2
[deliverable/titan.core.git] / regression_test / XML / XmlWorkflow / XmlTest_xsds / XmlTest_complex_all.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:ns41="www.XmlTest.org/complex_all"
11 targetNamespace="www.XmlTest.org/complex_all">
12 <annotation>
13 <documentation xml:lang="en">
14 This documentum tests based on
15 XML Schema Part 0: Primer Second Edition
16 2.7 Building Content models
17 </documentation>
18 </annotation>
19
20 <complexType name="MySubjects1">
21 <all>
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 </all>
27 <attribute name="Year" type="gYear"/>
28 </complexType>
29
30 <complexType name="MySubjects2">
31 <group ref="ns41:Subject"/>
32 <attribute name="Year" type="gYear"/>
33 </complexType>
34
35 <group name="Subject">
36 <all>
37 <element name="English" type="string"/>
38 <element name="Math" type="string"/>
39 <element name="Physics" type="string"/>
40 <element name="Chemistry" type="string"/>
41 <element name="History" type="string"/>
42 </all>
43 </group>
44
45
46 </schema>
This page took 0.033987 seconds and 5 git commands to generate.