Sync with 5.4.2
[deliverable/titan.core.git] / regression_test / XML / XmlWorkflow / XmlTest_expectedTtcns / www_example_org_import_prefix_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_import_prefix_e.ttcn
13 // Description:
14 // References:
15 // Rev:
16 // Prodnr:
17 // Updated: Thu Jul 2 12:23:27 2001
18 // Contact: http://ttcn.ericsson.se
19 //
20 ////////////////////////////////////////////////////////////////////////////////
21 // Generated from file(s):
22 // - import_prefix_name.xsd
23 // /* xml version = "1.0" encoding = "UTF-8" */
24 // /* targetnamespace = "www.example.org/import/prefix/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_import_prefix {
37
38
39 import from XSD all;
40
41
42 import from www_example_org_imported all;
43
44
45 type www_example_org_imported.Foobar Foobar
46 with {
47 variant "element";
48 };
49
50
51 type www_example_org_imported.Ding Ding
52 with {
53 variant "attribute";
54 };
55
56
57 type record Valami_1
58 {
59 Ding ding optional,
60 Foobar foobar
61 }
62 with {
63 variant "name as 'valami'";
64 variant (ding) "name as capitalized";
65 variant (ding) "attribute";
66 variant (foobar) "name as capitalized";
67 };
68
69
70 type Valami_1 Valami
71 with {
72 variant "element";
73 };
74
75
76 }
77 with {
78 encode "XML";
79 variant "namespace as 'www.example.org/import/prefix' prefix 'this'";
80 variant "controlNamespace 'http://www.w3.org/2001/XMLSchema-instance' prefix 'xsi'";
81 }
This page took 0.03955 seconds and 6 git commands to generate.