1 /******************************************************************************
2 * Copyright (c) 2000-2016 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
15 ******************************************************************************/
17 // File: http_www_example_org_complex_restriction_with_use_e.ttcn
22 // Updated: Tue Jun 2 06:12:37 2014
23 // Contact: http://ttcn.ericsson.se
25 ////////////////////////////////////////////////////////////////////////////////
26 // Generated from file(s):
27 // - complex_restriction_with_use.xsd
28 // /* xml version = "1.0" encoding = "UTF-8" */
29 // /* targetnamespace = "http://www.example.org/complex-restriction-with-use/e" */
30 ////////////////////////////////////////////////////////////////////////////////
31 // Modification header(s):
32 //-----------------------------------------------------------------------------
36 // Modification contact:
37 //------------------------------------------------------------------------------
38 ////////////////////////////////////////////////////////////////////////////////
41 module http_www_example_org_complex_restriction_with_use {
47 /* The base type is: */
50 type record PurchaseOrderType
52 XSD.Date finishDate optional,
53 XSD.Date orderDate optional,
54 XSD.Date shipDate optional,
56 XSD.String billTo optional,
60 variant (finishDate) "attribute";
61 variant (orderDate) "attribute";
62 variant (shipDate) "attribute";
66 /* The restricting type is: */
69 type record RestrictedPurchaseOrderType
71 XSD.Date finishDate optional,
78 variant (finishDate) "attribute";
79 variant (shipDate) "attribute";
83 type Testsuite_1 Testsuite
85 variant "name as uncapitalized";
90 type record Testsuite_1
92 XSD.Decimal time optional,
97 variant "name as 'testsuite'";
98 variant (time) "attribute";
102 type record Testsuites
111 variant "name as uncapitalized";
113 variant (testsuite.time) "attribute";
120 variant "namespace as 'http://www.example.org/complex-restriction-with-use'";
121 variant "controlNamespace 'http://www.w3.org/2001/XMLSchema-instance' prefix 'xsi'";