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_seq_group_reference_e.ttcn |
13 | // Description: |
14 | // References: |
15 | // Rev: |
16 | // Prodnr: |
17 | // Updated: Thu Aug 6 13:56:12 2014 |
18 | // Contact: http://ttcn.ericsson.se |
19 | // |
20 | //////////////////////////////////////////////////////////////////////////////// |
21 | // Generated from file(s): |
22 | // - seq_group_reference.xsd |
23 | // /* xml version = "1.0" encoding = "UTF-8" */ |
24 | // /* targetnamespace = "www.example.org/seq/group/reference/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_seq_group_reference { |
37 | |
38 | |
39 | import from XSD all; |
40 | |
41 | |
42 | type record E15f |
43 | { |
44 | XSD.String foobarGroup, |
45 | XSD.String foo, |
46 | XSD.String bar |
47 | } |
48 | with { |
3f84031e |
49 | variant "name as uncapitalized"; |
3abe9331 |
50 | }; |
51 | |
52 | |
53 | type record E15fa |
54 | { |
55 | record of XSD.String foobarGroup_list, |
56 | record length(5 .. 10) of FoobarGroup foobarGroup_list_1 |
57 | } |
58 | with { |
3f84031e |
59 | variant "name as uncapitalized"; |
60 | variant (foobarGroup_list) "untagged"; |
61 | variant (foobarGroup_list[-]) "name as 'foobarGroup'"; |
62 | variant (foobarGroup_list_1) "untagged"; |
3abe9331 |
63 | }; |
64 | |
65 | |
66 | type record FoobarGroup |
67 | { |
68 | XSD.String foo, |
69 | XSD.String bar |
70 | } |
71 | with { |
3f84031e |
72 | variant "untagged"; |
3abe9331 |
73 | }; |
74 | |
75 | |
76 | } |
77 | with { |
3f84031e |
78 | encode "XML"; |
79 | variant "namespace as 'www.example.org/seq/group/reference' prefix 'ns9'"; |
80 | variant "controlNamespace 'http://www.w3.org/2001/XMLSchema-instance' prefix 'xsi'"; |
3abe9331 |
81 | } |