Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
/*******************************************************************************
* Copyright (c) 2000-2018 Ericsson Telecom AB
*
* XSD to TTCN-3 Translator version: CRL 113 200/6 R4B
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.html
*******************************************************************************/
//
// File: urn_ietf_params_xml_ns_pidf_geopriv10.ttcn
// Description:
// References:
// Rev:
// Prodnr:
// Updated: Tue Aug 7 08:36:53 2018
// Contact: http://ttcn.ericsson.se
//
////////////////////////////////////////////////////////////////////////////////
// Generated from file(s):
// - RFC4119_geopriv10.xsd
// /* xml version = "1.0" encoding = "UTF-8" */
// /* targetnamespace = "urn:ietf:params:xml:ns:pidf:geopriv10" */
////////////////////////////////////////////////////////////////////////////////
// Modification header(s):
//-----------------------------------------------------------------------------
// Modified by:
// Modification date:
// Description:
// Modification contact:
//------------------------------------------------------------------------------
////////////////////////////////////////////////////////////////////////////////
module urn_ietf_params_xml_ns_pidf_geopriv10 {
import from XSD all;
import from urn_ietf_params_xml_ns_pidf_geopriv10_basicPolicy all;
import from urn_ietf_params_xml_ns_pidf_geopriv10_civicAddr all;
import from http_www_w3_org_XML_1998_namespace all;
import from http_www_opengis_net_gml all;
import from http_www_opengis_net_pidflo_1_0 all;
/* This import brings in the XML language attribute xml:lang */
type Geopriv_1 Geopriv
with {
variant "name as uncapitalized";
variant "element";
};
type record Geopriv_1
{
LocInfoType location_info,
LocPolicyType usage_rules,
LocMethod method optional,
LocProvidedBy provided_by optional,
record of XSD.String elem_list
}
with {
variant "name as 'geopriv'";
variant (location_info) "name as 'location-info'";
variant (usage_rules) "name as 'usage-rules'";
variant (provided_by) "name as 'provided-by'";
variant (elem_list) "untagged";
variant (elem_list[-]) "anyElement except unqualified, 'urn:ietf:params:xml:ns:pidf:geopriv10'";
};
type union LocInfoType
{
PointType point,
CircleType circle,
CivicAddress civic
}
with {
variant (point) "name as 'Point'";
variant (point) "namespace as 'http://www.opengis.net/gml'";
variant (circle) "name as 'Circle'";
variant (circle) "namespace as 'http://www.opengis.net/pidflo/1.0'";
variant (civic) "namespace as 'urn:ietf:params:xml:ns:pidf:geopriv10:civicAddr'";
variant (civic) "name as 'civicAddress'";
};
type record LocMethod
{
Lang lang optional,
XSD.String base
}
with {
variant "name as uncapitalized";
variant (lang) "namespace as 'http://www.w3.org/XML/1998/namespace' prefix 'xml'";
variant (lang) "attribute";
variant (base) "untagged";
};
type record LocProvidedBy
{
record length(1 .. infinity) of XSD.String elem_list
}
with {
variant "name as uncapitalized";
variant (elem_list) "untagged";
variant (elem_list[-]) "anyElement except unqualified, 'urn:ietf:params:xml:ns:pidf:geopriv10'";
};
}
with {
encode "XML";
variant "namespace as 'urn:ietf:params:xml:ns:pidf:geopriv10' prefix 'tns'";
variant "controlNamespace 'http://www.w3.org/2001/XMLSchema-instance' prefix 'xsi'";
variant "elementFormQualified";
}