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:ns39="www.XmlTest.org/complex_extension"
11 targetNamespace="www.XmlTest.org/complex_extension">
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
20 <complexType name="MySubjects3">
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="MySubjects3Extension">
32 <extension base="ns39:MySubjects3">
34 <element name="Arts" type="string"/>
36 <attribute name="Semester" type="string"/>