c43c9685c3d4ea8838a92d5a9066460dcf291983
[deliverable/titan.core.git] / regression_test / XML / XmlWorkflow / XmlTest_expectedTtcns / ietf_params_xml_ns_resource_lists_e.ttcn
1 /*******************************************************************************
2 * Copyright Ericsson Telecom AB
3 *
4 * XSD to TTCN-3 Translator
5 *
6 * All rights reserved. This program and the accompanying materials
7 * are made available under the terms of the Eclipse Public License v1.0
8 * which accompanies this distribution, and is available at
9 * http://www.eclipse.org/legal/epl-v10.html
10 *******************************************************************************/
11 //
12 // File: ietf_params_xml_ns_resource_lists_e.ttcn
13 // Description:
14 // References:
15 // Rev:
16 // Prodnr:
17 // Updated:
18 // Contact: http://ttcn.ericsson.se
19 //
20 ////////////////////////////////////////////////////////////////////////////////
21 //
22 // Generated from file(s):
23 //
24 // - RLXML_small.xsd
25 // /* xml version = "1.0" encoding = "UTF-8" */
26 // /* targetnamespace = "urn:ietf:params:xml:ns:resource-lists" */
27 //
28 ////////////////////////////////////////////////////////////////////////////////
29
30
31 module ietf_params_xml_ns_resource_lists_e {
32
33
34 import from XSD all;
35
36
37 /* This recursive XSD causes xsd2ttcn to segfault */
38
39
40 type record ListType
41 {
42 record of XSD.String attr,
43 XSD.String name optional,
44 Display_nameType display_name optional,
45 record of record {
46 union {
47 record {
48 } list
49 } choice
50 } sequence_list,
51 record of XSD.String elem_list
52 }
53 with {
54 variant "name as uncapitalized";
55 variant (attr) "anyAttributes except unqualified, 'urn:ietf:params:xml:ns:resource-lists'";
56 variant (name) "attribute";
57 variant (display_name) "name as 'display-name'";
58 variant (sequence_list) "untagged";
59 variant (sequence_list[-]) "untagged";
60 variant (sequence_list[-].choice) "untagged";
61 variant (elem_list) "untagged";
62 variant (elem_list[-]) "anyElement except unqualified, 'urn:ietf:params:xml:ns:resource-lists'";
63 };
64
65
66 type record Resource_lists
67 {
68 record of record {
69 ListType list
70 } sequence_list
71 }
72 with {
73 variant "name as 'resource-lists'";
74 variant "element";
75 variant (sequence_list) "untagged";
76 variant (sequence_list[-]) "untagged";
77 };
78
79
80 type record Display_nameType
81 {
82 Lang lang optional,
83 XSD.String base
84 }
85 with {
86 variant "name as 'display-nameType'";
87 variant (lang) "attribute";
88 variant (base) "untagged";
89 };
90
91
92 type XSD.AnySimpleType Lang
93 with {
94 variant "name as uncapitalized";
95 variant "attribute";
96 };
97
98
99 }
100 with {
101 encode "XML";
102 variant "namespace as 'urn:ietf:params:xml:ns:resource-lists'";
103 variant "controlNamespace 'http://www.w3.org/2001/XMLSchema-instance' prefix 'xsi'";
104 variant "elementFormQualified";
105 }
This page took 0.033733 seconds and 5 git commands to generate.