Commit | Line | Data |
---|---|---|
970ed795 EL |
1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | <!-- | |
3abe9331 | 3 | Copyright (c) 2000-2015 Ericsson Telecom AB |
970ed795 EL |
4 | |
5 | All rights reserved. This program and the accompanying materials | |
6 | are made available under the terms of the Eclipse Public License v1.0 | |
7 | which accompanies this distribution, and is available at | |
8 | http://www.eclipse.org/legal/epl-v10.html | |
9 | --> | |
10 | <xs:schema targetNamespace="urn:ietf:params:xml:ns:resource-lists" | |
11 | xmlns:xs="http://www.w3.org/2001/XMLSchema" | |
12 | xmlns="urn:ietf:params:xml:ns:resource-lists" | |
13 | elementFormDefault="qualified" attributeFormDefault="unqualified"> | |
14 | ||
15 | <!-- This recursive XSD causes xsd2ttcn to segfault --> | |
16 | ||
17 | <xs:complexType name="listType"> | |
18 | <xs:sequence> | |
19 | <xs:element name="display-name" type="display-nameType" minOccurs="0"/> | |
20 | <xs:sequence minOccurs="0" maxOccurs="unbounded"> | |
21 | <xs:choice> | |
22 | <xs:element name="list"> | |
23 | <xs:complexType> | |
24 | <xs:complexContent> | |
25 | <xs:extension base="listType"/> | |
26 | </xs:complexContent> | |
27 | </xs:complexType> | |
28 | </xs:element> | |
29 | </xs:choice> | |
30 | </xs:sequence> | |
31 | <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/> | |
32 | </xs:sequence> | |
33 | <xs:attribute name="name" type="xs:string" use="optional"/> | |
34 | <xs:anyAttribute namespace="##other" processContents="lax"/> | |
35 | </xs:complexType> | |
36 | ||
37 | <xs:element name="resource-lists"> | |
38 | <xs:complexType> | |
39 | <xs:sequence minOccurs="0" maxOccurs="unbounded"> | |
40 | <xs:element name="list" type="listType"/> | |
41 | </xs:sequence> | |
42 | </xs:complexType> | |
43 | </xs:element> | |
44 | ||
45 | <xs:complexType name="display-nameType"> | |
46 | <xs:simpleContent> | |
47 | <xs:extension base="xs:string"> | |
48 | <xs:attribute ref="lang"/> | |
49 | </xs:extension> | |
50 | </xs:simpleContent> | |
51 | </xs:complexType> | |
52 | ||
53 | ||
54 | <xs:attribute name="lang"> | |
55 | </xs:attribute> | |
56 | ||
57 | </xs:schema> |