Sync with 5.4.2
[deliverable/titan.core.git] / regression_test / XML / XmlWorkflow / XmlTest_expectedTtcns / www_XmlTest_org_complex_any_e.ttcn
1 /*******************************************************************************
2 * Copyright 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 //
12 // File: www_XmlTest_org_complex_any_e.ttcn
13 // Description:
14 // References:
15 // Rev:
16 // Prodnr:
17 // Updated: Thu Sep 5 17:35:07 2013
18 // Contact: http://ttcn.ericsson.se
19 //
20 ////////////////////////////////////////////////////////////////////////////////
21 // Generated from file(s):
22 // - XmlTest_complex_any.xsd
23 // /* xml version = "1.0" */
24 // /* targetnamespace = "www.XmlTest.org/complex_any" */
25 ////////////////////////////////////////////////////////////////////////////////
26 // Modification header(s):
27 //-----------------------------------------------------------------------------
28 // Modified by:
29 // Modification date:
30 // Description:
31 // Modification contact:
32 //------------------------------------------------------------------------------
33 ////////////////////////////////////////////////////////////////////////////////
34
35
36 module www_XmlTest_org_complex_any_e {
37
38
39 import from XSD all;
40
41
42 /* This documentum tests based on
43 XML Schema Part 0: Primer Second Edition
44 5 Advanced Concepts III. The Quantity Report
45 5.5 Any Element, Any Attribute
46 XML Schema Part 1: Structures Second Edition
47 3.10.1 The Wildcard Schema Component
48 This is the included schema with proper namespace */
49
50
51 type record ElementContainingXhtml_1
52 {
53 XSD.String firstField,
54 record length(1 .. infinity) of XSD.String elem_list,
55 XSD.String thirdField
56 }
57 with {
58 variant "element";
59 variant (firstField) "name as capitalized";
60 variant (elem_list) "untagged";
61 variant (elem_list[-]) "anyElement from 'http://www.w3.org/1999/xhtml'";
62 variant (thirdField) "name as capitalized";
63 };
64
65
66 type record ElementContainingXhtml_2
67 {
68 record length(1 .. infinity) of XSD.String elem_list
69 }
70 with {
71 variant "element";
72 variant (elem_list) "untagged";
73 variant (elem_list[-]) "anyElement from 'http://www.w3.org/1999/xhtml'";
74 };
75
76
77 }
78 with {
79 encode "XML";
80 variant "namespace as 'www.XmlTest.org/complex_any' prefix 'r1'";
81 variant "controlNamespace 'http://www.w3.org/2001/XMLSchema-instance' prefix 'xsi'";
82 variant "elementFormQualified";
83 }
This page took 0.031665 seconds and 5 git commands to generate.