Last sync 2016.04.01
[deliverable/titan.core.git] / regression_test / XML / XmlWorkflow / XmlTest_expectedTtcns / www_XmlTest_org_complex_extension_e.ttcn
CommitLineData
d44e3c4f 1/******************************************************************************
2* Copyright (c) 2000-2016 Ericsson Telecom AB
970ed795
EL
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
d44e3c4f 10*
11* Contributors:
12* Balasko, Jeno
13* Lovassy, Arpad
14* Raduly, Csaba
15* Szabo, Bence Janos
16*
17******************************************************************************/
970ed795
EL
18//
19// File: www_XmlTest_org_complex_extension_e.ttcn
20// Description:
21// References:
22// Rev:
23// Prodnr:
24// Updated: Thu Sep 5 17:35:05 2013
25// Contact: http://ttcn.ericsson.se
26//
27////////////////////////////////////////////////////////////////////////////////
28// Generated from file(s):
29// - XmlTest_complex_extension.xsd
30// /* xml version = "1.0" */
31// /* targetnamespace = "www.XmlTest.org/complex_extension" */
32////////////////////////////////////////////////////////////////////////////////
33// Modification header(s):
34//-----------------------------------------------------------------------------
35// Modified by:
36// Modification date:
37// Description:
38// Modification contact:
39//------------------------------------------------------------------------------
40////////////////////////////////////////////////////////////////////////////////
41
42
43module www_XmlTest_org_complex_extension_e {
44
45
46import from XSD all;
47
48
49/* This documentum tests based on
50 XML Schema Part 0: Primer Second Edition
51 4.2 Deriving Types by Extension */
52
53
54type record MySubjects3
55{
56 XSD.GYear year optional,
57 XSD.String english optional,
58 XSD.String math optional,
59 XSD.String physics optional,
60 XSD.String chemistry optional
61}
62with {
3f84031e 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";
970ed795
EL
69};
70
71
72type record MySubjects3Extension
73{
74 XSD.String semester optional,
75 XSD.GYear year optional,
76 XSD.String english optional,
77 XSD.String math optional,
78 XSD.String physics optional,
79 XSD.String chemistry optional,
80 XSD.String arts
81}
82with {
3f84031e 83 variant (semester) "name as capitalized";
84 variant (semester) "attribute";
85 variant (year) "name as capitalized";
86 variant (year) "attribute";
87 variant (english) "name as capitalized";
88 variant (math) "name as capitalized";
89 variant (physics) "name as capitalized";
90 variant (chemistry) "name as capitalized";
91 variant (arts) "name as capitalized";
970ed795
EL
92};
93
94
95}
96with {
3f84031e 97 encode "XML";
98 variant "namespace as 'www.XmlTest.org/complex_extension' prefix 'ns39'";
99 variant "controlNamespace 'http://www.w3.org/2001/XMLSchema-instance' prefix 'xsi'";
970ed795 100}
This page took 0.027443 seconds and 5 git commands to generate.