Debian Codegraph @

regression_test/XML/HN15589/xsd/XTDP-Message.xsd

raw
1 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2 <!--
3 Copyright (c) 2000-2021 Ericsson Telecom AB
4 All rights reserved. This program and the accompanying materials
5 are made available under the terms of the Eclipse Public License v2.0
6 which accompanies this distribution, and is available at
7 https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.html
8
9 Contributors:
10 Balasko, Jeno
11 Raduly, Csaba
12 -->
13 <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
14 xmlns:xtdl="http://ttcn.ericsson.se/protocolModules/xtdp/xtdl"
15 xmlns="http://ttcn.ericsson.se/protocolModules/xtdp/xtdp"
16 targetNamespace="http://ttcn.ericsson.se/protocolModules/xtdp/xtdp"
17 >
18
19 <xsd:import namespace="http://ttcn.ericsson.se/protocolModules/xtdp/xtdl" schemaLocation="XTDL.xsd" />
20
21 <!-- ***********************************************************************
22 * XTDP ELEMENT TYPES *
23 ***********************************************************************-->
24
25 <xsd:simpleType name="XTDP-Identifier">
26 <xsd:restriction base="xsd:string">
27 <!--Corrected by ethgry from: "(\p{L}|\d|_|\-|\.|\/){1,}"/>-->
28 <!-- FIXME: IDENTIFIER CONVENSION IS CHANGED! FIRST CHARACTER SHALL NOT BE "_" "-" OR "."; IS IT OK?-->
29 <xsd:pattern value="[a-zA-Z0-9]([a-zA-Z0-9]|_|\-|\.|/){1,}"/>
30 </xsd:restriction>
31 </xsd:simpleType>
32
33
34 <!--
35 ***********************************************************************
36 * XTDP INFORMATION ELEMENTS *
37 ***********************************************************************
38 -->
39
40
41 <xsd:complexType name="XTDP-AddRequest">
42 <xsd:sequence>
43 <xsd:element name="requestId" type="xsd:positiveInteger" minOccurs="1" maxOccurs="1" />
44 <xsd:element name="parentWidgetId" type="XTDP-Identifier" minOccurs="0" maxOccurs="1" />
45 <xsd:group ref="xtdl:widgets"/>
46 </xsd:sequence>
47 </xsd:complexType>
48
49
50 <!--
51 ***********************************************************************
52 * XTDP MESSAGES *
53 ***********************************************************************-->
54
55
56 <xsd:complexType name="XTDP-AddRequests">
57 <xsd:sequence>
58 <xsd:element name="XTDP-AddRequest" type="XTDP-AddRequest" minOccurs="1" maxOccurs="unbounded" />
59 </xsd:sequence>
60 </xsd:complexType>
61
62
63 <xsd:element name="XTDP-Message">
64 <xsd:complexType>
65 <xsd:choice>
66 <xsd:element name="XTDP-AddRequests" type="XTDP-AddRequests" />
67 <xsd:element name="XTDP-AuthChallenge" type="xsd:string" />
68 <xsd:element name="XTDP-AuthResponse" type="xsd:string" />
69 <xsd:element name="XTDP-Bye" type="xsd:string" />
70 </xsd:choice>
71 <!-- ethgry: "noNamespaceSchemaLocation" is deleted; how to know about this attribute,
72 if the schema is not available? -->
73 <!-- ethgry: transactionID is added to allow handling several procedures at the same time -->
74 <xsd:attribute name="transactionID" type="xsd:nonNegativeInteger"/>
75 </xsd:complexType>
76 </xsd:element>
77 </xsd:schema>