1 /******************************************************************************
2 * Copyright (c) 2000-2016 Ericsson Telecom AB
3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the Eclipse Public License v1.0
5 * which accompanies this distribution, and is available at
6 * http://www.eclipse.org/legal/epl-v10.html
12 ******************************************************************************/
17 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
18 <xs:simpleType name="S1">
19 <xs:restriction base="xs:integer">
20 <xs:maxInclusive value="2"/>
24 <xs:simpleType name="S2">
25 <xs:restriction base="S1">
26 <xs:minInclusive value="-23"/>
27 <xs:maxInclusive value="1"/>
31 <xs:simpleType name="S3">
32 <xs:restriction base="S2">
33 <xs:minInclusive value="-3"/>
34 <xs:maxExclusive value="1"/>
38 <xs:complexType name="C1">
40 <xs:extension base="S3">
41 <xs:attribute name="A1" type="xs:integer"/>
42 <xs:attribute name="A2" type="xs:float"/>
52 //import from XSD language "XML" all;
54 type integer S1 (-infinity .. 2);
55 type S1 S2 (-23 .. 1);
63 variant(a1,a2) "name as capitalized";
64 variant(a1,a2) "attribute";
65 variant (base) "untagged "
71 variant (one) "untagged"
77 variant (smalls) "untagged"
81 type record C0container {
87 record of charstring inner
89 with { variant (inner) "untagged" }