Sync with 5.4.1
[deliverable/titan.core.git] / regression_test / XML / XmlWorkflow / XmlTest_expectedTtcns / www_example_org_comment_placement_e.ttcn
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_comment_placement_e.ttcn
13 // Description:
14 // References:
15 // Rev:
16 // Prodnr:
17 // Updated: Thu Aug 6 13:44:05 2015
18 // Contact: http://ttcn.ericsson.se
19 //
20 ////////////////////////////////////////////////////////////////////////////////
21 // Generated from file(s):
22 // - comment_placement.xsd
23 // /* xml version = "1.0" encoding = "UTF-8" */
24 // /* targetnamespace = "www.example.org/comment/placement/e" */
25 ////////////////////////////////////////////////////////////////////////////////
26 // Modification header(s):
27 //-----------------------------------------------------------------------------
28 // Modified by:
29 // Modification date:
30 // Description:
31 // Modification contact:
32 //------------------------------------------------------------------------------
33 ////////////////////////////////////////////////////////////////////////////////
34
35
36 module www_example_org_comment_placement {
37
38
39 import from XSD all;
40
41
42 /* SomeCommentyyy */
43 type union E21unnamed
44 {
45 /* SomeCommentyyy */
46 XSD.String alt_,
47 /* SomeCommentss */
48 XSD.Float alt_1,
49 XSD.Integer alt_2
50 }
51 with {
52 variant "name as uncapitalized";
53 variant "useUnion";
54 variant "element";
55 variant (alt_) "name as ''";
56 variant (alt_1) "name as ''";
57 variant (alt_2) "name as ''";
58 };
59
60
61 /* SomeCommentss */
62 type record E39
63 {
64 union {
65 /* SomeCommentss */
66 XSD.String foo,
67 /* SomeCommentss */
68 XSD.String bar
69 } choice,
70 /* SomeCommentss */
71 XSD.String ding
72 }
73 with {
74 variant "name as uncapitalized";
75 variant (choice) "untagged";
76 };
77
78
79 /* SomeComment */
80 /* SomeComment2 */
81
82
83 /* SomeComment */
84 type XSD.Integer Int
85 with {
86 variant "element";
87 };
88
89
90 }
91 with {
92 encode "XML";
93 variant "namespace as 'www.example.org/comment/placement'";
94 variant "controlNamespace 'http://www.w3.org/2001/XMLSchema-instance' prefix 'xsi'";
95 }
This page took 0.033229 seconds and 5 git commands to generate.