Sync with 5.4.2
[deliverable/titan.core.git] / regression_test / XML / XmlWorkflow / XmlTest_expectedTtcns / www_XmlTest_org_complex_import_e.ttcn
CommitLineData
970ed795
EL
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//
3f84031e 12// File: www_XmlTest_org_complex_import_e.ttcn
970ed795
EL
13// Description:
14// References:
15// Rev:
16// Prodnr:
17// Updated: Thu Sep 5 17:35:03 2013
18// Contact: http://ttcn.ericsson.se
19//
20////////////////////////////////////////////////////////////////////////////////
21// Generated from file(s):
22// - XmlTest_complex_import_pos.xsd
23// /* xml version = "1.0" */
24// /* targetnamespace = "www.XmlTest.org/complex_import" */
25////////////////////////////////////////////////////////////////////////////////
26// Modification header(s):
27//-----------------------------------------------------------------------------
28// Modified by:
29// Modification date:
30// Description:
31// Modification contact:
32//------------------------------------------------------------------------------
33////////////////////////////////////////////////////////////////////////////////
34
35
36module www_XmlTest_org_complex_import_e {
37
38
39import from XSD all;
40
41
42import from www_XmlTest_org_complex_include_e all;
43
44
45/* This documentum tests based on
46 XML Schema Part 0: Primer Second Edition
47 5 Advanced Concepts III. The Quantity Report
48 5.4 Importing Types
49 XML Schema Part 1: Structures Second Edition
50 ...
51 ETSI ES 201 873-9 V4.1.2
52 This is the importing schema */
53
54
55type record PurchaseReportImport
56{
57 XSD.Duration period optional,
58 XSD.Date periodEnding optional,
59 RegionsType regions,
60 PartsType parts
61}
62with {
3f84031e 63 variant "name as uncapitalized";
64 variant "element";
65 variant (period) "attribute";
66 variant (periodEnding) "attribute";
970ed795
EL
67};
68
69
70}
71with {
3f84031e 72 encode "XML";
73 variant "namespace as 'www.XmlTest.org/complex_import' prefix 'imp'";
74 variant "controlNamespace 'http://www.w3.org/2001/XMLSchema-instance' prefix 'xsi'";
75 variant "elementFormQualified";
970ed795 76}
This page took 0.028755 seconds and 5 git commands to generate.