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: ietf_params_xml_ns_pidf_e.ttcn
18 // Contact: http://ttcn.ericsson.se
20 ////////////////////////////////////////////////////////////////////////////////
22 // Generated from file(s):
25 // /* xml version = "1.0" encoding = "UTF-8" */
26 // /* targetnamespace = "urn:ietf:params:xml:ns:pidf" */
28 ////////////////////////////////////////////////////////////////////////////////
31 module ietf_params_xml_ns_pidf_e {
37 import from www_w3_org_XML_1998_namespace_e all;
40 /* This import brings in the XML language attribute xml:lang */
43 type Presence_1 Presence
45 variant "name as uncapitalized";
50 type record Presence_1
53 record of Tuple tuple_list,
54 record of Note note_list,
55 record of XSD.String elem_list
58 variant "name as 'presence'";
59 variant (entity) "attribute";
60 variant (tuple_list) "untagged";
61 variant (tuple_list[-]) "name as 'tuple'";
62 variant (note_list) "untagged";
63 variant (note_list[-]) "name as 'note'";
64 variant (elem_list) "untagged";
65 variant (elem_list[-]) "anyElement except unqualified, 'urn:ietf:params:xml:ns:pidf'";
73 record of XSD.String elem_list,
74 Contact contact optional,
75 record of Note note_list,
76 XSD.DateTime timestamp optional
79 variant "name as uncapitalized";
80 variant (id) "attribute";
81 variant (elem_list) "untagged";
82 variant (elem_list[-]) "anyElement except unqualified, 'urn:ietf:params:xml:ns:pidf'";
83 variant (note_list) "untagged";
84 variant (note_list[-]) "name as 'note'";
91 record of XSD.String elem_list
94 variant "name as uncapitalized";
95 variant (elem_list) "untagged";
96 variant (elem_list[-]) "anyElement except unqualified, 'urn:ietf:params:xml:ns:pidf'";
100 type enumerated Basic
106 variant "name as uncapitalized";
112 Qvalue priority optional,
116 variant "name as uncapitalized";
117 variant (priority) "attribute";
118 variant (base) "untagged";
128 variant "name as uncapitalized";
129 variant (lang) "attribute";
130 variant (base) "untagged";
134 type XSD.Decimal Qvalue
136 variant "name as uncapitalized";
140 /* Global Attributes */
143 /* This attribute may be used on any element within an optional
144 PIDF extension to indicate that the corresponding element must
145 be understood by the PIDF processor if the enclosing optional
146 element is to be handled. */
147 type XSD.Boolean MustUnderstand
149 variant "name as uncapitalized";
150 variant "defaultForEmpty as '0'";
158 variant "namespace as 'urn:ietf:params:xml:ns:pidf' prefix 'pidf'";
159 variant "controlNamespace 'http://www.w3.org/2001/XMLSchema-instance' prefix 'xsi'";
160 variant "elementFormQualified";