2 Copyright (c) 2000-2015 Ericsson Telecom AB
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
9 <schema xmlns="http://www.w3.org/2001/XMLSchema"
10 xmlns:ns41="www.XmlTest.org/complex_all"
11 targetNamespace="www.XmlTest.org/complex_all">
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
20 <complexType name="MySubjects1">
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"/>
27 <attribute name="Year" type="gYear"/>
30 <complexType name="MySubjects2">
31 <group ref="ns41:Subject"/>
32 <attribute name="Year" type="gYear"/>
35 <group name="Subject">
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"/>