Sync with 5.4.2
[deliverable/titan.core.git] / regression_test / XML / XmlWorkflow / XmlTest_expectedTtcns / www_example_org_anyattr_in_complex_e.ttcn
1 /*******************************************************************************
2 * Copyright Ericsson Telecom AB 2014
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: www_example_org_anyattr_in_complex_e.ttcn
13 // Description:
14 // References:
15 // Rev:
16 // Prodnr:
17 // Updated: Wed Oct 28 13:30:35 2014
18 // Contact: http://ttcn.ericsson.se
19 //
20 ////////////////////////////////////////////////////////////////////////////////
21 // Generated from file(s):
22 // - anyattr_in_compex_e.xsd
23 // /* xml version = "1.0" encoding = "UTF-8" */
24 // /* targetnamespace = "www.example.org/anyattr/in/complex/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_anyattr_in_complex {
37
38
39 import from XSD all;
40
41
42 type record DependentLocalityType
43 {
44 record of record {
45 record of XSD.String attr optional
46 } dependentLocalityName_list,
47 record {
48 } dependentLocalityNumber optional
49 }
50 with {
51 variant (dependentLocalityName_list) "untagged";
52 variant (dependentLocalityName_list[-]) "name as 'DependentLocalityName'";
53 variant (dependentLocalityName_list[-].attr) "anyAttributes except unqualified, 'www.example.org/anyattr/in/complex'";
54 variant (dependentLocalityNumber) "name as capitalized";
55 };
56
57
58 }
59 with {
60 encode "XML";
61 variant "namespace as 'www.example.org/anyattr/in/complex' prefix 'this'";
62 variant "controlNamespace 'http://www.w3.org/2001/XMLSchema-instance' prefix 'xsi'";
63 }
This page took 0.031854 seconds and 5 git commands to generate.