Sync with 5.4.2
[deliverable/titan.core.git] / regression_test / XML / XmlWorkflow / XmlTest_expectedTtcns / www_example_org_anyattrib_single_e.ttcn
1 /*******************************************************************************
2 * Copyright (c) 2000-2015 Ericsson Telecom AB
3 *
4 * XSD to TTCN-3 Translator version: CRL 113 200/5 R31
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_anyattrib_single_e.ttcn
13 // Description:
14 // References:
15 // Rev:
16 // Prodnr:
17 // Updated: Fri Aug 28 10:17:20 2013
18 // Contact: http://ttcn.ericsson.se
19 //
20 ////////////////////////////////////////////////////////////////////////////////
21 // Generated from file(s):
22 // - anyattrib_single.xsd
23 // /* xml version = "1.0" encoding = "UTF-8" */
24 // /* targetnamespace = "www.example.org/anyattrib/single" */
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_anyattrib_single_e {
37
38
39 import from XSD all;
40
41
42 type record E25seq
43 {
44 XSD.Token attrInGroup1 optional,
45 XSD.Token attrInGroup2 optional,
46 record of XSD.String attr optional,
47 XSD.String titleElemBase,
48 XSD.String forenameElemBase,
49 XSD.String surnameElemBase
50 }
51 with {
52 variant "name as uncapitalized";
53 variant (attrInGroup1) "attribute";
54 variant (attrInGroup2) "attribute";
55 variant (attr) "anyAttributes from 'http://www.w3.org/1999/xhtml','www.example.org/anyattrib/single','www.example.org/anyattrib/single'";
56 };
57
58
59 type record E45c
60 {
61 record of XSD.String attr optional
62 }
63 with {
64 variant "name as uncapitalized";
65 variant "element";
66 variant (attr) "anyAttributes from unqualified,'http://www.example.org/attribute'";
67 };
68
69
70 type record E45d
71 {
72 record of XSD.String attr optional
73 }
74 with {
75 variant "name as uncapitalized";
76 variant "element";
77 variant (attr) "anyAttributes from 'www.example.org/anyattrib/single',unqualified,'http://www.example.org/attribute'";
78 };
79
80
81 type record ExtBase
82 {
83 record of XSD.String attr optional,
84 XSD.String field
85 }
86 with {
87 variant (attr) "anyAttributes from 'www.example.org/anyattrib/single'";
88 };
89
90
91 type record MyType
92 {
93 XSD.String ding optional,
94 record of XSD.String attr optional,
95 XSD.String field
96 }
97 with {
98 variant "element";
99 variant (ding) "attribute";
100 variant (attr) "anyAttributes from 'www.example.org/anyattrib/single'";
101 };
102
103
104 type record ExtBase2
105 {
106 record of XSD.String attr optional,
107 XSD.String field
108 }
109 with {
110 variant (attr) "anyAttributes except unqualified, 'www.example.org/anyattrib/single'";
111 };
112
113
114 type record MyType2
115 {
116 XSD.String ding optional,
117 record of XSD.String attr optional,
118 XSD.String field
119 }
120 with {
121 variant "element";
122 variant (ding) "attribute";
123 variant (attr) "anyAttributes from 'www.example.org/anyattrib/single',unqualified, 'www.example.org/anyattrib/single'";
124 };
125
126
127 }
128 with {
129 encode "XML";
130 variant "namespace as 'www.example.org/anyattrib/single' prefix 'this'";
131 variant "controlNamespace 'http://www.w3.org/2001/XMLSchema-instance' prefix 'xsi'";
132 }
This page took 0.033421 seconds and 5 git commands to generate.