2 Copyright (c) 2000-2014 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 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
10 xmlns:ex="www.examples.org/ericsson"
11 targetNamespace="www.examples.org/ericsson">
13 <xs:complexType name="C1">
15 <xs:extension base="xs:integer">
16 <xs:attribute name="A1" type="xs:integer"/>
17 <xs:attribute name="A2" type="xs:integer"/>
22 <xs:complexType name="C2">
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"/>
33 <xs:complexType name="C3">
35 <xs:restriction base="ex:C2">
36 <xs:minInclusive value="25"/>
37 <xs:maxInclusive value="26"/>