1 /*******************************************************************************
2 * Copyright (c) 2000-2015 Ericsson Telecom AB
4 * XSD to TTCN-3 Translator version: CRL 113 200/4 R3A
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: http_www_example_org_nillable_in_nillable_extension_e.ttcn
17 // Updated: Thu Jun 4 16:22:29 2014
18 // Contact: http://ttcn.ericsson.se
20 ////////////////////////////////////////////////////////////////////////////////
21 // Generated from file(s):
22 // - nillable_in_nillable_extension.xsd
23 // /* xml version = "1.0" encoding = "UTF-8" */
24 // /* targetnamespace = "http://www.example.org/nillable/in/nillable/extension/e" */
25 ////////////////////////////////////////////////////////////////////////////////
26 // Modification header(s):
27 //-----------------------------------------------------------------------------
31 // Modification contact:
32 //------------------------------------------------------------------------------
33 ////////////////////////////////////////////////////////////////////////////////
36 module http_www_example_org_nillable_in_nillable_extension {
42 type record SeqNillable
44 XSD.Integer number optional,
45 record length(0 .. 32) of record {
46 XSD.Integer content optional
50 variant (number) "name as capitalized";
51 variant (nillableNumber_list) "untagged";
52 variant (nillableNumber_list[-]) "name as 'NillableNumber'";
53 variant (nillableNumber_list[-]) "useNil";
57 type record NillableInRecord
59 XSD.Boolean allow_do_not,
61 XSD.Integer phoneNumber optional,
63 XSD.Integer number optional,
64 record length(0 .. 32) of record {
65 XSD.Integer content optional
68 } seqNillableExtended optional
72 variant (allow_do_not) "name as 'allow-do-not'";
73 //variant (allow_do_not) "text 'true' as '1'";
74 //variant (allow_do_not) "text 'false' as '0'";
75 variant (seqNillableExtended) "name as capitalized";
76 variant (seqNillableExtended) "useNil";
77 variant (seqNillableExtended.phoneNumber) "name as capitalized";
78 variant (seqNillableExtended.phoneNumber) "attribute";
79 variant (seqNillableExtended.content.number) "name as capitalized";
80 variant (seqNillableExtended.content.nillableNumber_list) "untagged";
81 variant (seqNillableExtended.content.nillableNumber_list[-]) "name as 'NillableNumber'";
82 variant (seqNillableExtended.content.nillableNumber_list[-]) "useNil";
89 variant "namespace as 'http://www.example.org/nillable/in/nillable/extension' prefix 'ns12'";
90 variant "controlNamespace 'http://www.w3.org/2001/XMLSchema-instance' prefix 'xsi'";
91 variant "elementFormQualified";