Titan Core Initial Contribution
[deliverable/titan.core.git] / regression_test / XML / xsdConverter / Examples / Example3.xsd
1 <!--
2 Copyright (c) 2000-2014 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 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
10 xmlns:ex="www.examples.org/ericsson"
11 targetNamespace="www.examples.org/ericsson">
12
13 <xs:complexType name="C1">
14 <xs:simpleContent>
15 <xs:extension base="xs:integer">
16 <xs:attribute name="A1" type="xs:integer"/>
17 <xs:attribute name="A2" type="xs:integer"/>
18 </xs:extension>
19 </xs:simpleContent>
20 </xs:complexType>
21
22 <xs:complexType name="C2">
23 <xs:simpleContent>
24 <xs:restriction base="ex:C1">
25 <xs:minInclusive value="23"/>
26 <xs:maxInclusive value="26"/>
27 <xs:attribute name="A1" type="xs:byte" use="required"/>
28 <xs:attribute name="A2" type="xs:negativeInteger"/>
29 </xs:restriction>
30 </xs:simpleContent>
31 </xs:complexType>
32
33 <xs:complexType name="C3">
34 <xs:simpleContent>
35 <xs:restriction base="ex:C2">
36 <xs:minInclusive value="25"/>
37 <xs:maxInclusive value="26"/>
38 </xs:restriction>
39 </xs:simpleContent>
40 </xs:complexType>
41
42 </xs:schema>
This page took 0.033115 seconds and 5 git commands to generate.