3abe9331 |
1 | /******************************************************************************* |
2 | * Copyright (c) 2000-2015 Ericsson Telecom AB |
3 | * |
4 | * XSD to TTCN-3 Translator version: CRL 113 200/5 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_type_conversion_follow_e.ttcn |
13 | // Description: |
14 | // References: |
15 | // Rev: |
16 | // Prodnr: |
17 | // Updated: Thu Aug 1 14:28:44 2014 |
18 | // Contact: http://ttcn.ericsson.se |
19 | // |
20 | //////////////////////////////////////////////////////////////////////////////// |
21 | // Generated from file(s): |
22 | // - type_conversion_follow.xsd |
23 | // /* xml version = "1.0" encoding = "UTF-8" */ |
3f84031e |
24 | // /* targetnamespace = "www.example.org/type/conversion/follow" */ |
3abe9331 |
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_type_conversion_follow_e { |
37 | |
38 | |
39 | import from XSD all; |
40 | |
41 | |
42 | type record E45 |
43 | { |
44 | XSD.String birthDateAttrGroup optional, |
45 | E45_1 birthPlaceAttrGroup optional, |
46 | E45_1 sd optional, |
47 | E45_1 foo, |
48 | XSD.String bar |
49 | } |
50 | with { |
3f84031e |
51 | variant "name as uncapitalized"; |
52 | variant (birthDateAttrGroup) "attribute"; |
53 | variant (birthPlaceAttrGroup) "attribute"; |
54 | variant (sd) "attribute"; |
3abe9331 |
55 | }; |
56 | |
57 | |
58 | type record E45_1 |
59 | { |
60 | XSD.String attr optional |
61 | } |
62 | with { |
3f84031e |
63 | variant "name as 'e45_'"; |
64 | variant (attr) "attribute"; |
3abe9331 |
65 | }; |
66 | |
67 | |
68 | type record Ss_1 |
69 | { |
70 | E45_1 sss |
71 | } |
72 | with { |
3f84031e |
73 | variant "untagged"; |
3abe9331 |
74 | }; |
75 | |
76 | |
77 | type E45_1 Ss |
78 | with { |
3f84031e |
79 | variant "name as uncapitalized"; |
80 | variant "element"; |
3abe9331 |
81 | }; |
82 | |
83 | |
84 | type record FoobarGroup |
85 | { |
86 | E45_1 foo, |
87 | XSD.String bar |
88 | } |
89 | with { |
3f84031e |
90 | variant "untagged"; |
3abe9331 |
91 | }; |
92 | |
93 | |
94 | } |
95 | with { |
3f84031e |
96 | encode "XML"; |
97 | variant "namespace as 'www.example.org/type/conversion/follow' prefix 'ns11'"; |
98 | variant "controlNamespace 'http://www.w3.org/2001/XMLSchema-instance' prefix 'xsi'"; |
3abe9331 |
99 | } |