Sync with 5.4.1
[deliverable/titan.core.git] / regression_test / XML / XmlWorkflow / XmlTest_expectedTtcns / www_example_org_simpletype_ref_e.ttcn
CommitLineData
3abe9331 1/*******************************************************************************
2* Copyright (c) 2000-2015 Ericsson Telecom AB
3*
4* XSD to TTCN-3 Translator version: CRL 113 200/5 R2A
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: www_example_org_simpletype_ref_e.ttcn
13// Description:
14// References:
15// Rev:
16// Prodnr:
17// Updated: Thu Sep 10 13:13:32 2014
18// Contact: http://ttcn.ericsson.se
19//
20////////////////////////////////////////////////////////////////////////////////
21// Generated from file(s):
22// - simpletype_ref.xsd
23// /* xml version = "1.0" encoding = "UTF-8" */
24// /* targetnamespace = "www.example.org/simpletype/ref" */
25////////////////////////////////////////////////////////////////////////////////
26// Modification header(s):
27//-----------------------------------------------------------------------------
28// Modified by:
29// Modification date:
30// Description:
31// Modification contact:
32//------------------------------------------------------------------------------
33////////////////////////////////////////////////////////////////////////////////
34
35
36module www_example_org_simpletype_ref_e {
37
38
39import from XSD all;
40
41
42type record SomeType
43{
44 XSD.String something
45}
46with {
47variant "element";
48};
49
50
51type record Type
52{
53 XSD.String something optional
54}
55with {
56variant "element";
57};
58
59
60type record OtherType
61{
62 SomeType billingAccountNumber,
63 XSD.Long installmentPlanId (-99999 .. 99999),
64 XSD.String info length(0 .. 30) optional
65};
66
67
68type record of XSD.String Start_list
69with {
70variant "name as uncapitalized";
71variant "list";
72};
73
74
75type Start_list List_ref length(4);
76
77
78type XSD.String Info;
79
80
81}
82with {
83encode "XML";
84variant "namespace as 'www.example.org/simpletype/ref' prefix 'this'";
85variant "controlNamespace 'http://www.w3.org/2001/XMLSchema-instance' prefix 'xsi'";
86}
This page took 0.027803 seconds and 5 git commands to generate.