1 /*******************************************************************************
2 * Copyright Ericsson Telecom AB
4 * XSD to TTCN-3 Translator
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 *******************************************************************************/
12 // File: www_XmlTest_org_complex_all_e.ttcn
17 // Updated: Thu Sep 5 17:35:05 2013
18 // Contact: http://ttcn.ericsson.se
20 ////////////////////////////////////////////////////////////////////////////////
21 // Generated from file(s):
22 // - XmlTest_complex_all.xsd
23 // /* xml version = "1.0" */
24 // /* targetnamespace = "www.XmlTest.org/complex_all" */
25 ////////////////////////////////////////////////////////////////////////////////
26 // Modification header(s):
27 //-----------------------------------------------------------------------------
31 // Modification contact:
32 //------------------------------------------------------------------------------
33 ////////////////////////////////////////////////////////////////////////////////
36 module www_XmlTest_org_complex_all_e {
42 /* This documentum tests based on
43 XML Schema Part 0: Primer Second Edition
44 2.7 Building Content models */
47 type record MySubjects1
49 record of enumerated {
55 XSD.GYear year optional,
56 XSD.String english optional,
57 XSD.String math optional,
58 XSD.String physics optional,
59 XSD.String chemistry optional
63 variant (year) "name as capitalized";
64 variant (year) "attribute";
65 variant (english) "name as capitalized";
66 variant (math) "name as capitalized";
67 variant (physics) "name as capitalized";
68 variant (chemistry) "name as capitalized";
72 type record MySubjects2
74 record of enumerated {
81 XSD.GYear year optional,
90 variant (year) "name as capitalized";
91 variant (year) "attribute";
92 variant (english) "name as capitalized";
93 variant (math) "name as capitalized";
94 variant (physics) "name as capitalized";
95 variant (chemistry) "name as capitalized";
96 variant (history) "name as capitalized";
102 record of enumerated {
112 XSD.String chemistry,
118 variant (english) "name as capitalized";
119 variant (math) "name as capitalized";
120 variant (physics) "name as capitalized";
121 variant (chemistry) "name as capitalized";
122 variant (history) "name as capitalized";
129 variant "namespace as 'www.XmlTest.org/complex_all' prefix 'ns41'";
130 variant "controlNamespace 'http://www.w3.org/2001/XMLSchema-instance' prefix 'xsi'";