Sync with 5.4.2
[deliverable/titan.core.git] / regression_test / XML / XmlWorkflow / XmlTest_expectedTtcns / www_example_org_nillable_fixed_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: www_example_org_nillable_fixed_e.ttcn
13// Description:
14// References:
15// Rev:
16// Prodnr:
17// Updated: Thu Sep 10 10:18:35 2014
18// Contact: http://ttcn.ericsson.se
19//
20////////////////////////////////////////////////////////////////////////////////
21// Generated from file(s):
22// - nillable_fixed.xsd
23// /* xml version = "1.0" encoding = "UTF-8" */
24// /* targetnamespace = "www.example.org/nillable/fixed" */
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_nillable_fixed_e {
37
38
39import from XSD all;
40
41
42type record RemarkNillable
43{
44 XSD.String content optional
45}
46with {
3f84031e 47 variant "name as uncapitalized";
48 variant "useNil";
49 variant "element";
3abe9331 50};
51
52
53type record E16c
54{
55 XSD.Integer foo,
56 record {
57 XSD.String content optional
58 } bar
59}
60with {
3f84031e 61 variant "name as uncapitalized";
62 variant "element";
63 variant (bar) "useNil";
3abe9331 64};
65
66
67type record SeqNillable
68{
69 XSD.Integer bar optional,
70 XSD.Integer foo (1) optional,
71 record {
72 record {
73 XSD.String content optional
74 } forename,
75 record {
76 XSD.String content optional
77 } surname optional,
78 record of record {
79 XSD.String content optional
80 } livingAddress_list
81 } content optional
82}
83with {
3f84031e 84 variant "useNil";
85 variant "element";
86 variant (bar) "attribute";
87 variant (foo) "defaultForEmpty as '1'";
88 variant (foo) "attribute";
89 variant (content.forename) "useNil";
90 variant (content.surname) "useNil";
91 variant (content.livingAddress_list) "untagged";
92 variant (content.livingAddress_list[-]) "name as 'livingAddress'";
93 variant (content.livingAddress_list[-]) "useNil";
3abe9331 94};
95
96
97}
98with {
3f84031e 99 encode "XML";
100 variant "namespace as 'www.example.org/nillable/fixed'";
101 variant "controlNamespace 'http://www.w3.org/2001/XMLSchema-instance' prefix 'xsi'";
3abe9331 102}
This page took 0.027694 seconds and 5 git commands to generate.