|
1 <?xml version="1.0"?> |
|
2 <!DOCTYPE SystemDefinition1 [ |
|
3 <!ELEMENT SystemDefinition ( systemModel )> |
|
4 <!ATTLIST SystemDefinition |
|
5 name CDATA #REQUIRED |
|
6 schema CDATA #REQUIRED |
|
7 > |
|
8 <!-- all paths are relative to the environment variable specified by the root attribute, or SOURCEROOT if not. --> |
|
9 |
|
10 <!-- System Model Section of DTD --> |
|
11 <!ELEMENT systemModel (layer+)> |
|
12 |
|
13 <!ELEMENT layer (block* | collection*)*> |
|
14 <!-- Kernel Services, Base Services, OS Services, Etc --> |
|
15 <!ATTLIST layer |
|
16 name CDATA #REQUIRED |
|
17 levels NMTOKENS #IMPLIED |
|
18 span CDATA #IMPLIED |
|
19 > |
|
20 |
|
21 <!ELEMENT block (subblock* | collection*)*> |
|
22 <!-- Generic OS services, Comms Services, etc --> |
|
23 <!ATTLIST block |
|
24 levels NMTOKENS #IMPLIED |
|
25 span CDATA #IMPLIED |
|
26 level NMTOKEN #IMPLIED |
|
27 name CDATA #REQUIRED |
|
28 > |
|
29 |
|
30 <!ELEMENT subblock (collection)*> |
|
31 <!-- Cellular Baseband Services, Networking Services, etc --> |
|
32 <!ATTLIST subblock |
|
33 name CDATA #REQUIRED |
|
34 > |
|
35 |
|
36 <!ELEMENT collection (component)*> |
|
37 <!-- Screen Driver, Content Handling, etc --> |
|
38 <!ATTLIST collection |
|
39 name CDATA #REQUIRED |
|
40 level NMTOKEN #IMPLIED |
|
41 > |
|
42 |
|
43 <!ELEMENT component (unit)*> |
|
44 <!-- contains units or is a package or prebuilt --> |
|
45 <!ATTLIST component |
|
46 name CDATA #REQUIRED |
|
47 deprecated CDATA #IMPLIED |
|
48 introduced CDATA #IMPLIED |
|
49 contract CDATA #IMPLIED |
|
50 plugin (Y|N) "N" |
|
51 filter CDATA #IMPLIED |
|
52 class NMTOKENS #IMPLIED |
|
53 supports CDATA #IMPLIED |
|
54 > |
|
55 |
|
56 <!ELEMENT unit EMPTY > |
|
57 <!-- must be buildable (bld.inf) --> |
|
58 <!-- bldFile may someday be removed in favour of mrp --> |
|
59 <!ATTLIST unit |
|
60 mrp CDATA #IMPLIED |
|
61 filter CDATA #IMPLIED |
|
62 bldFile CDATA #IMPLIED |
|
63 root CDATA #IMPLIED |
|
64 version NMTOKEN #IMPLIED |
|
65 prebuilt NMTOKEN #IMPLIED |
|
66 late (Y|N) #IMPLIED |
|
67 priority CDATA #IMPLIED |
|
68 > |
|
69 |
|
70 ]> |
|
71 <SystemDefinition name="TCL" schema="2.0.0"> |
|
72 <systemModel> |
|
73 <layer name="Unclassified"> |
|
74 <collection name="foo1"> |
|
75 <component name="foo2" filter="foo1"> |
|
76 <unit mrp="an.mrp"/> |
|
77 </component> |
|
78 </layer> |
|
79 <layer name="bar1"> |
|
80 <block name="bar2"> |
|
81 <collection name="bar3"> |
|
82 <component name="bar4" filter="bar1"> |
|
83 <unit mrp="another.mrp"/> |
|
84 </component> |
|
85 </collection> |
|
86 </block> |
|
87 </layer> |
|
88 <layer name="bash" levels="low"> |
|
89 <block name="bash2" level="low"> |
|
90 <collection name="bash2"> |
|
91 <component name="bash3" filter="bash4"> |
|
92 <unit mrp="yetanother.mrp"/> |
|
93 </component> |
|
94 </collection> |
|
95 <collection name="bash5"> |
|
96 <component name="bash6" filter="bash4"> |
|
97 <unit bldFile="group" mrp="fudge.mrp"/> |
|
98 </component> |
|
99 </collection> |