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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
|
<!-- DTD for Component Assembly Descriptor. The root element
is <componentassembly>. Elements are listed
alphabetically.
-->
<!-- Simple xml link attributes based on W3C WD-xlink-19980303.
May change slightly when XLL is finalized.
-->
<!ENTITY % simple-link-attributes "
xml:link CDATA #FIXED 'SIMPLE'
href CDATA #REQUIRED
" >
<!ELEMENT componentassembly
( description?
, componentfiles
, partitioning
, connections?
, extension*
) >
<!ATTLIST componentassembly
id ID #REQUIRED
derivedfrom CDATA #IMPLIED >
<!-- If file not available locally, then download via codebase link -->
<!ELEMENT codebase EMPTY >
<!ATTLIST codebase
filename CDATA #IMPLIED
%simple-link-attributes; >
<!ELEMENT componentfile
( fileinarchive
| codebase
| link
) >
<!ATTLIST componentfile
id ID #REQUIRED
type CDATA #IMPLIED >
<!ELEMENT componentfileref EMPTY >
<!ATTLIST componentfileref
idref CDATA #REQUIRED >
<!ELEMENT componentfiles
( componentfile+
) >
<!ELEMENT componentimplref EMPTY >
<!ATTLIST componentimplref
idref CDATA #REQUIRED >
<!ELEMENT componentinstantiation
( usagename?
, componentproperties?
, registercomponent*
, extension*
) >
<!ATTLIST componentinstantiation
id ID #REQUIRED >
<!ELEMENT componentinstantiationref EMPTY >
<!ATTLIST componentinstantiationref
idref CDATA #REQUIRED >
<!ELEMENT componentproperties
( fileinarchive
| codebase
) >
<!ELEMENT componentsupportedinterface
( componentinstantiationref
| findby
)>
<!ELEMENT connectevent
( ( consumesport
| existinginterface
)
, ( emitsport
| publishesport
)
) >
<!ATTLIST connectevent
id ID #IMPLIED >
<!ELEMENT connecthomes
( proxyhome
, destinationhome
) >
<!ATTLIST connecthomes
id ID #IMPLIED >
<!ELEMENT connectinterface
( usesport
, ( providesport
| componentsupportedinterface
| existinginterface
| homeinterface
)
) >
<!ATTLIST connectinterface
id ID #IMPLIED >
<!ELEMENT connections
( connectinterface
| connectevent
| connecthomes
| extension
)* >
<!ELEMENT consumesidentifier ( #PCDATA ) >
<!ELEMENT consumesport
( consumesidentifier
, ( componentinstantiationref
| findby
)
)>
<!ELEMENT description ( #PCDATA ) >
<!ELEMENT destination ( #PCDATA ) >
<!ELEMENT destinationhome
( homeplacementref
| findby
) >
<!ELEMENT emitsidentifier ( #PCDATA ) >
<!ELEMENT emitsport
( emitsidentifier
, ( componentinstantiationref
| findby
)
)>
<!ELEMENT executableplacement
( usagename?
, componentfileref
, componentimplref?
, invocation?
, destination?
, extension*
) >
<!ATTLIST executableplacement
id ID #REQUIRED
cardinality CDATA "1" >
<!ELEMENT existinginterface
( findby )>
<!-- The "extension" element is used for vendor-specific extensions -->
<!ELEMENT extension (#PCDATA) >
<!ATTLIST extension
class CDATA #REQUIRED
origin CDATA #REQUIRED
id ID #IMPLIED
extra CDATA #IMPLIED
html-form CDATA #IMPLIED >
<!-- The "fileinarchive" element is used to specify a file in the archive.
If the file is independent of an archive then link is used to point to
the archive in which the file may be found.
-->
<!ELEMENT fileinarchive
( link? ) >
<!ATTLIST fileinarchive
name CDATA #REQUIRED >
<!ELEMENT findby
( namingservice
| stringifiedobjectref
| traderquery
| homefinder
| extension
) >
<!ELEMENT homefinder EMPTY >
<!ATTLIST homefinder
name CDATA #REQUIRED >
<!ELEMENT homeinterface
( homeplacementref
| findby
)>
<!ELEMENT homeplacement
( usagename?
, componentfileref
, componentimplref?
, homeproperties?
, componentproperties?
, registerwithhomefinder*
, registerwithnaming*
, registerwithtrader*
, componentinstantiation*
, destination?
, extension*
) >
<!ATTLIST homeplacement
id ID #REQUIRED
cardinality CDATA "1" >
<!ELEMENT homeplacementref EMPTY >
<!ATTLIST homeplacementref
idref CDATA #REQUIRED >
<!ELEMENT homeproperties
( fileinarchive
| codebase
) >
<!ELEMENT hostcollocation
( usagename?
, impltype?
, ( homeplacement
| executableplacement
| processcollocation
| extension
)+
, destination?
) >
<!ATTLIST hostcollocation
id ID #IMPLIED
cardinality CDATA "1" >
<!ELEMENT impltype EMPTY >
<!ATTLIST impltype
language CDATA #REQUIRED
version CDATA #IMPLIED >
<!ELEMENT invocation EMPTY >
<!ATTLIST invocation
args CDATA #REQUIRED >
<!ELEMENT link ( #PCDATA ) >
<!ATTLIST link
%simple-link-attributes; >
<!ELEMENT namingservice EMPTY >
<!ATTLIST namingservice
name CDATA #REQUIRED >
<!ELEMENT partitioning
( homeplacement
| executableplacement
| processcollocation
| hostcollocation
| extension
)* >
<!ELEMENT processcollocation
( usagename?
, impltype?
, ( homeplacement
| extension
)+
, destination?
) >
<!ATTLIST processcollocation
id ID #IMPLIED
cardinality CDATA "1" >
<!ELEMENT providesidentifier ( #PCDATA ) >
<!ELEMENT providesport
( providesidentifier
, ( componentinstantiationref
| findby
)
) >
<!ELEMENT proxyhome
( homeplacementref
| findby
) >
<!ELEMENT publishesidentifier ( #PCDATA ) >
<!ELEMENT publishesport
( publishesidentifier
, ( componentinstantiationref
| findby
)
) >
<!ELEMENT registercomponent
( ( providesidentifier
| consumesidentifier
)?
, ( registerwithnaming
| registerwithtrader
)+
) >
<!ELEMENT registerwithhomefinder EMPTY >
<!ATTLIST registerwithhomefinder
name CDATA #REQUIRED >
<!ELEMENT registerwithnaming EMPTY >
<!ATTLIST registerwithnaming
name CDATA #IMPLIED >
<!ELEMENT registerwithtrader
( traderexport ) >
<!ATTLIST registerwithtrader
tradername CDATA #IMPLIED >
<!-- DEVNOTE: is tradername necessary? -->
<!-- DEVNOTE: Should trader properties be specified in component file?
And in assembly file? -->
<!ELEMENT stringifiedobjectref ( #PCDATA ) >
<!ELEMENT traderconstraint ( #PCDATA ) >
<!ELEMENT traderexport
( traderservicetypename
, traderproperties
) >
<!ELEMENT traderpolicy
( traderpolicyname
, traderpolicyvalue
) >
<!ELEMENT traderpolicyname ( #PCDATA ) >
<!ELEMENT traderpolicyvalue ( #PCDATA ) >
<!ELEMENT traderpreference ( #PCDATA ) >
<!ELEMENT traderproperties
( traderproperty+ ) >
<!ELEMENT traderproperty
( traderpropertyname
, traderpropertyvalue
) >
<!ELEMENT traderpropertyname ( #PCDATA ) >
<!ELEMENT traderpropertyvalue ( #PCDATA ) >
<!ELEMENT traderquery
( traderservicetypename
, traderconstraint
, traderpreference?
, traderpolicy*
, traderspecifiedprop*
) >
<!ELEMENT traderservicetypename ( #PCDATA ) >
<!ELEMENT traderspecifiedprop ( #PCDATA ) >
<!ELEMENT usagename ( #PCDATA ) >
<!ELEMENT usesidentifier ( #PCDATA ) >
<!ELEMENT usesport
( usesidentifier
, ( componentinstantiationref
| findby
)
) >
|