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_ericsson_com_is_isco_IntegratedSite_R4L06_R4AB_1_02_HK84933_e.ttcn
18 // Contact: http://ttcn.ericsson.se
20 ////////////////////////////////////////////////////////////////////////////////
22 // Generated from file(s):
24 // - IntegratedSite_HK84933.xsd
25 // /* xml version = "1.0" encoding = "UTF-8" */
26 // /* targetnamespace = "http://www.ericsson.com/is/isco/IntegratedSite/R4L06/R4AB_1.02" */
28 ////////////////////////////////////////////////////////////////////////////////
31 module www_ericsson_com_is_isco_IntegratedSite_R4L06_R4AB_1_02_HK84933_e {
37 /* This is a cut-down version of IntegratedSite.xsd, just to illustrate
39 See regression_test/xsdConvert/MGW/IntegratedSite.xsd in its full
44 xmlns:confd="http://tail-f.com/ns/confd/1.0"
45 xmlns:IsTypes="http://www.ericsson.com/is/isco/IsTypes/R4L06/R4AB_1.02" */
48 /* <xs:import namespace="http://www.w3.org/2001/XMLSchema" schemaLocation="XMLSchema.xsd"/>
49 <xs:import namespace="http://tail-f.com/ns/confd/1.0" schemaLocation="confd.xsd"/>
50 <xs:import namespace="http://www.ericsson.com/is/isco/IsTypes/R4L06/R4AB_1.02" schemaLocation="IsTypes.xsd"/> */
53 /* This is the cut-down version of IntegratedSite. The original has 3200 lines!
54 This uses an unnamed (complex)type. */
57 /* The unnamed type */
58 type record IntegratedSite
62 XSD.Integer number optional
68 variant (bladeSystems) "name as capitalized";
69 variant (bladeSystems.bladeSystem_list) "untagged";
70 variant (bladeSystems.bladeSystem_list[-]) "name as 'BladeSystem'";
74 /* This is the reimplementation of IntegratedSite,
75 which uses a named top-level type. */
78 type record IntegratedSite2
81 record of BladeSystem2 bladeSystem2_list
86 variant (bladeSystems2) "name as capitalized";
87 variant (bladeSystems2.bladeSystem2_list) "untagged";
88 variant (bladeSystems2.bladeSystem2_list[-]) "name as 'BladeSystem2'";
92 type record BladeSystem2
94 XSD.Integer number optional
101 variant "namespace as 'http://www.ericsson.com/is/isco/IntegratedSite/R4L06/R4AB_1.02' prefix 'IntegratedSite'";
102 variant "controlNamespace 'http://www.w3.org/2001/XMLSchema-instance' prefix 'xsi'";
103 variant "elementFormQualified";