Last sync 2016.04.01
[deliverable/titan.core.git] / regression_test / XML / XmlWorkflow / XmlTest_expectedTtcns / www_example_org_import_prefix_e.ttcn
1 /******************************************************************************
2 * Copyright (c) 2000-2016 Ericsson Telecom AB
3 *
4 * XSD to TTCN-3 Translator
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 * Contributors:
12 * Balasko, Jeno
13 * Szabo, Bence Janos
14 *
15 ******************************************************************************/
16 //
17 // File: www_example_org_import_prefix_e.ttcn
18 // Description:
19 // References:
20 // Rev:
21 // Prodnr:
22 // Updated: Thu Jul 2 12:23:27 2001
23 // Contact: http://ttcn.ericsson.se
24 //
25 ////////////////////////////////////////////////////////////////////////////////
26 // Generated from file(s):
27 // - import_prefix_name.xsd
28 // /* xml version = "1.0" encoding = "UTF-8" */
29 // /* targetnamespace = "www.example.org/import/prefix/e" */
30 ////////////////////////////////////////////////////////////////////////////////
31 // Modification header(s):
32 //-----------------------------------------------------------------------------
33 // Modified by:
34 // Modification date:
35 // Description:
36 // Modification contact:
37 //------------------------------------------------------------------------------
38 ////////////////////////////////////////////////////////////////////////////////
39
40
41 module www_example_org_import_prefix {
42
43
44 import from XSD all;
45
46
47 import from www_example_org_imported all;
48
49
50 type www_example_org_imported.Foobar Foobar
51 with {
52 variant "element";
53 };
54
55
56 type www_example_org_imported.Ding Ding
57 with {
58 variant "attribute";
59 };
60
61
62 type record Valami_1
63 {
64 Ding ding optional,
65 Foobar foobar
66 }
67 with {
68 variant "name as 'valami'";
69 variant (ding) "name as capitalized";
70 variant (ding) "attribute";
71 variant (foobar) "name as capitalized";
72 };
73
74
75 type Valami_1 Valami
76 with {
77 variant "element";
78 };
79
80
81 }
82 with {
83 encode "XML";
84 variant "namespace as 'www.example.org/import/prefix' prefix 'this'";
85 variant "controlNamespace 'http://www.w3.org/2001/XMLSchema-instance' prefix 'xsi'";
86 }
This page took 0.067483 seconds and 6 git commands to generate.