Titan Core Initial Contribution
[deliverable/titan.core.git] / regression_test / XML / XmlWorkflow / XmlTest_expectedTtcns / ietf_params_xml_ns_resource_lists_e.ttcn
CommitLineData
970ed795
EL
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
31module ietf_params_xml_ns_resource_lists_e {
32
33
34import from XSD all;
35
36
37/* This recursive XSD causes xsd2ttcn to segfault */
38
39
40type 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}
53with {
54variant "name as uncapitalized";
55variant (attr) "anyAttributes except unqualified, 'urn:ietf:params:xml:ns:resource-lists'";
56variant (name) "attribute";
57variant (display_name) "name as 'display-name'";
58variant (sequence_list) "untagged";
59variant (sequence_list[-]) "untagged";
60variant (sequence_list[-].choice) "untagged";
61variant (elem_list) "untagged";
62variant (elem_list[-]) "anyElement except unqualified, 'urn:ietf:params:xml:ns:resource-lists'";
63};
64
65
66type record Resource_lists
67{
68 record of record {
69 ListType list
70 } sequence_list
71}
72with {
73variant "name as 'resource-lists'";
74variant "element";
75variant (sequence_list) "untagged";
76variant (sequence_list[-]) "untagged";
77};
78
79
80type record Display_nameType
81{
82 Lang lang optional,
83 XSD.String base
84}
85with {
86variant "name as 'display-nameType'";
87variant (lang) "attribute";
88variant (base) "untagged";
89};
90
91
92type XSD.AnySimpleType Lang
93with {
94variant "name as uncapitalized";
95variant "attribute";
96};
97
98
99}
100with {
101encode "XML";
102variant "namespace as 'urn:ietf:params:xml:ns:resource-lists'";
103variant "controlNamespace 'http://www.w3.org/2001/XMLSchema-instance' prefix 'xsi'";
104variant "elementFormQualified";
105}
This page took 0.027087 seconds and 5 git commands to generate.