Sync with 5.4.2
[deliverable/titan.core.git] / regression_test / XML / XmlWorkflow / XmlTest_expectedTtcns / www_example_org_simpletype_restrict_comp_e.ttcn
CommitLineData
3abe9331 1/*******************************************************************************
2* Copyright (c) 2000-2015 Ericsson Telecom AB
3*
4* XSD to TTCN-3 Translator version: CRL 113 200/4 R3A
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//
12// File: www_example_org_simpletype_restrict_comp_e.ttcn
13// Description:
14// References:
15// Rev:
16// Prodnr:
17// Updated: Thu Aug 6 13:59:08 2014
18// Contact: http://ttcn.ericsson.se
19//
20////////////////////////////////////////////////////////////////////////////////
21// Generated from file(s):
22// - simpletype_restrict_comp.xsd
23// /* xml version = "1.0" encoding = "UTF-8" */
24// /* targetnamespace = "www.example.org/simpletype/restrict/comp/e" */
25////////////////////////////////////////////////////////////////////////////////
26// Modification header(s):
27//-----------------------------------------------------------------------------
28// Modified by:
29// Modification date:
30// Description:
31// Modification contact:
32//------------------------------------------------------------------------------
33////////////////////////////////////////////////////////////////////////////////
34
35
36module www_example_org_simpletype_restrict_comp {
37
38
39import from XSD all;
40
41
42/* Home Location Register Id */
43type XSD.String HlrIdInfo length(10 .. infinity);
44
45
46type record Restricted
47{
48 /* HLR Id */
49 XSD.String hlrId length(10 .. 30) optional
50};
51
52
53/* Static IP Address */
54type IpV6AddressInfo IpV6Address
55with {
3f84031e 56 variant "name as uncapitalized";
57 variant "element";
3abe9331 58};
59
60
61/* IP V6 Address */
62type XSD.String IpV6AddressInfo (pattern "[0-9A-Fa-f]#(1,4)(:[0-9A-Fa-f]#(0,4))#(7)");
63
64
65}
66with {
3f84031e 67 encode "XML";
68 variant "namespace as 'www.example.org/simpletype/restrict/comp' prefix 'ns10'";
69 variant "controlNamespace 'http://www.w3.org/2001/XMLSchema-instance' prefix 'xsi'";
3abe9331 70}
This page took 0.027482 seconds and 5 git commands to generate.