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_include.ttcn
17 // Updated: Thu Sep 5 17:35:06 2013
18 // Contact: http://ttcn.ericsson.se
20 ////////////////////////////////////////////////////////////////////////////////
21 // Generated from file(s):
22 // - XmlTest_complex_include1.xsd
23 // /* xml version = "1.0" */
24 // /* targetnamespace = "www.XmlTest.org/complex_include" */
25 ////////////////////////////////////////////////////////////////////////////////
26 // Modification header(s):
27 //-----------------------------------------------------------------------------
31 // Modification contact:
32 //------------------------------------------------------------------------------
33 ////////////////////////////////////////////////////////////////////////////////
36 module www_XmlTest_org_complex_include2_e {
42 /* This documentum tests based on
43 XML Schema Part 0: Primer Second Edition
44 5 Advanced Concepts III. The Quantity Report
46 XML Schema Part 1: Structures Second Edition
48 ETSI ES 201 873-9 V4.1.2
49 This is the included schema with proper namespace */
52 type record RegionsType
54 record length(1 .. infinity) of record {
55 XSD.PositiveInteger code optional,
56 record length(1 .. infinity) of record {
57 XSD.String number optional,
58 XSD.PositiveInteger quantity optional
63 variant (zip_list) "untagged";
64 variant (zip_list[-]) "name as 'zip'";
65 variant (zip_list[-].code) "attribute";
66 variant (zip_list[-].part_list) "untagged";
67 variant (zip_list[-].part_list[-]) "name as 'part'";
68 variant (zip_list[-].part_list[-].number) "attribute";
69 variant (zip_list[-].part_list[-].quantity) "attribute";
75 record length(1 .. infinity) of record {
76 XSD.String number optional,
81 variant (part_list) "untagged";
82 variant (part_list[-]) "name as 'part'";
83 variant (part_list[-].number) "attribute";
84 variant (part_list[-].base) "untagged";
91 variant "namespace as 'www.XmlTest.org/complex_include2' prefix 'r2'";
92 variant "controlNamespace 'http://www.w3.org/2001/XMLSchema-instance' prefix 'xsi'";
93 variant "elementFormQualified";