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: MyTypes_e.ttcn |
13 | // Description: |
14 | // References: |
15 | // Rev: |
16 | // Prodnr: |
17 | // Updated: Mon Oct 12 10:09:06 2014 |
18 | // Contact: http://ttcn.ericsson.se |
19 | // |
20 | //////////////////////////////////////////////////////////////////////////////// |
21 | // Generated from file(s): |
22 | // - module_typename_conversion_1.xsd |
23 | // /* xml version = "1.0" encoding = "UTF-8" */ |
24 | // /* targetnamespace = "MyTypes_e" */ |
25 | //////////////////////////////////////////////////////////////////////////////// |
26 | // Modification header(s): |
27 | //----------------------------------------------------------------------------- |
28 | // Modified by: |
29 | // Modification date: |
30 | // Description: |
31 | // Modification contact: |
32 | //------------------------------------------------------------------------------ |
33 | //////////////////////////////////////////////////////////////////////////////// |
34 | |
35 | |
36 | module MyTypes { |
37 | |
38 | |
39 | import from XSD all; |
40 | |
41 | |
42 | type XSD.String MyTypes_2 |
43 | with { |
3f84031e |
44 | variant "name as 'MyTypes__'"; |
45 | variant "attribute"; |
3abe9331 |
46 | }; |
47 | |
48 | |
49 | type XSD.String MyTypes_1 |
50 | with { |
3f84031e |
51 | variant "name as 'MyTypes_'"; |
52 | variant "element"; |
3abe9331 |
53 | }; |
54 | |
55 | |
56 | type record MyTypes_3 |
57 | { |
58 | XSD.String myTypes |
59 | } |
60 | with { |
3f84031e |
61 | variant "name as 'MyTypes'"; |
62 | variant "element"; |
63 | variant (myTypes) "name as capitalized"; |
3abe9331 |
64 | }; |
65 | |
66 | |
67 | } |
68 | with { |
3f84031e |
69 | encode "XML"; |
70 | variant "namespace as 'MyTypes'"; |
71 | variant "controlNamespace 'http://www.w3.org/2001/XMLSchema-instance' prefix 'xsi'"; |
3abe9331 |
72 | } |