Sync with 5.4.1
[deliverable/titan.core.git] / regression_test / XML / XmlWorkflow / XmlTest_expectedTtcns / http_www_example_org_seq_embeds_seq_e.ttcn
CommitLineData
3abe9331 1/*******************************************************************************
2* Copyright (c) 2000-2015 Ericsson Telecom AB
3*
4* XSD to TTCN-3 Translator version: CRL 113 200/4 R3A
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: http_www_example_org_seq_embeds_seq_e.ttcn
13// Description:
14// References:
15// Rev:
16// Prodnr:
17// Updated: Fri May 29 12:38:08 2014
18// Contact: http://ttcn.ericsson.se
19//
20////////////////////////////////////////////////////////////////////////////////
21// Generated from file(s):
22// - sequence_embeds_sequence.xsd
23// /* xml version = "1.0" encoding = "UTF-8" */
24// /* targetnamespace = "http://www.example.org/seq-embeds-seq/e" */
25////////////////////////////////////////////////////////////////////////////////
26// Modification header(s):
27//-----------------------------------------------------------------------------
28// Modified by:
29// Modification date:
30// Description:
31// Modification contact:
32//------------------------------------------------------------------------------
33////////////////////////////////////////////////////////////////////////////////
34
35
36module http_www_example_org_seq_embeds_seq {
37
38
39import from XSD all;
40
41
42type record E34b
43{
44 union {
45 record {
46 XSD.String foo,
47 XSD.String bar,
48 XSD.String ding,
49 XSD.String foo_1,
50 XSD.String bar_1
51 } sequence,
52 XSD.String ding
53 } choice
54}
55with {
56variant "name as uncapitalized";
57variant (choice) "untagged";
58variant (choice.sequence) "untagged";
59variant (choice.sequence.foo_1) "name as 'foo'";
60variant (choice.sequence.bar_1) "name as 'bar'";
61};
62
63
64type record E40a
65{
66 XSD.String foo,
67 XSD.String bar,
68 XSD.String ding
69}
70with {
71variant "name as uncapitalized";
72};
73
74
75}
76with {
77encode "XML";
78variant "namespace as 'http://www.example.org/seq-embeds-seq'";
79variant "controlNamespace 'http://www.w3.org/2001/XMLSchema-instance' prefix 'xsi'";
80}
This page took 0.027842 seconds and 5 git commands to generate.