|
1 <?xml version="1.0" encoding="UTF-8"?> |
|
2 <!-- |
|
3 ============================================================================ |
|
4 Name : package_definition.xml |
|
5 Part of : Helium AntLib |
|
6 |
|
7 Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
8 All rights reserved. |
|
9 This component and the accompanying materials are made available |
|
10 under the terms of the License "Eclipse Public License v1.0" |
|
11 which accompanies this distribution, and is available |
|
12 at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
13 |
|
14 Initial Contributors: |
|
15 Nokia Corporation - initial contribution. |
|
16 |
|
17 Contributors: |
|
18 |
|
19 Description: |
|
20 |
|
21 ============================================================================ |
|
22 --> |
|
23 <!DOCTYPE SystemDefinition [ |
|
24 <!ELEMENT SystemDefinition ( systemModel | layer | package | collection | component)> |
|
25 <!ATTLIST SystemDefinition |
|
26 schema CDATA #REQUIRED |
|
27 id-namespace CDATA "http://www.symbian.org/system-definition" |
|
28 > |
|
29 <!-- this DTD describes schema="3.0.0" --> |
|
30 |
|
31 <!-- all relative paths are relative to this file |
|
32 all absolute paths are relative to the environment variable specified by the root attribute, or SRCROOT if not. --> |
|
33 |
|
34 <!-- Container for metadata |
|
35 meta, if present, should always be the first element in the parent |
|
36 --> |
|
37 <!ELEMENT meta ANY> |
|
38 <!ATTLIST meta |
|
39 href CDATA #IMPLIED |
|
40 type CDATA "auto" |
|
41 rel CDATA "Generic" |
|
42 > |
|
43 |
|
44 <!-- systemModel element has name but no ID --> |
|
45 <!ELEMENT systemModel (meta*, layer+)> |
|
46 <!ATTLIST systemModel |
|
47 name CDATA #IMPLIED |
|
48 > |
|
49 |
|
50 <!-- All items from layer down to component should have either @href or at least one valid child item. |
|
51 Anything else will be considered a placeholder |
|
52 --> |
|
53 |
|
54 <!ELEMENT layer (meta*, (package | collection)*) > |
|
55 <!ATTLIST layer |
|
56 id ID #REQUIRED |
|
57 name CDATA #IMPLIED |
|
58 href CDATA #IMPLIED |
|
59 levels NMTOKENS #IMPLIED |
|
60 span CDATA #IMPLIED |
|
61 before NMTOKEN #IMPLIED |
|
62 > |
|
63 |
|
64 <!ELEMENT package (meta*, (package | collection)*)> |
|
65 <!-- Nested packages are for backwards compatibility only --> |
|
66 <!ATTLIST package |
|
67 id ID #REQUIRED |
|
68 name CDATA #IMPLIED |
|
69 version CDATA #IMPLIED |
|
70 tech-domain CDATA #IMPLIED |
|
71 href CDATA #IMPLIED |
|
72 levels NMTOKENS #IMPLIED |
|
73 span CDATA #IMPLIED |
|
74 level NMTOKEN #IMPLIED |
|
75 before NMTOKEN #IMPLIED |
|
76 > |
|
77 |
|
78 <!ELEMENT collection (meta*, (component* ))> |
|
79 <!ATTLIST collection |
|
80 id ID #REQUIRED |
|
81 name CDATA #IMPLIED |
|
82 href CDATA #IMPLIED |
|
83 level NMTOKEN #IMPLIED |
|
84 before NMTOKEN #IMPLIED |
|
85 > |
|
86 |
|
87 <!ELEMENT component (meta*, unit*)> |
|
88 <!-- contains units or is a placeholder --> |
|
89 <!ATTLIST component |
|
90 id ID #REQUIRED |
|
91 name CDATA #IMPLIED |
|
92 href CDATA #IMPLIED |
|
93 deprecated CDATA #IMPLIED |
|
94 introduced CDATA #IMPLIED |
|
95 target ( device | desktop | other ) "device" |
|
96 purpose ( optional | mandatory | development ) "optional" |
|
97 class NMTOKENS #IMPLIED |
|
98 filter CDATA #IMPLIED |
|
99 before NMTOKEN #IMPLIED |
|
100 origin-model CDATA #IMPLIED |
|
101 > |
|
102 <!-- |
|
103 "filter" attribute is deprecated |
|
104 "origin-model" attribute is only to be inserted by tools when merging models |
|
105 recommended class values are: doc, config, plugin, tool, api --> |
|
106 |
|
107 <!ELEMENT unit EMPTY > |
|
108 <!ATTLIST unit |
|
109 mrp CDATA #IMPLIED |
|
110 bldFile CDATA #IMPLIED |
|
111 base CDATA #IMPLIED |
|
112 root CDATA #IMPLIED |
|
113 version NMTOKEN #IMPLIED |
|
114 prebuilt NMTOKEN #IMPLIED |
|
115 late (yes|no) #IMPLIED |
|
116 filter CDATA #IMPLIED |
|
117 priority CDATA #IMPLIED |
|
118 > |
|
119 <!-- filter and priority are deprecated |
|
120 "root" attribute will usually be inserted by tools when merging models, although it can be set manually--> |
|
121 ]> |
|
122 <SystemDefinition schema="3.0.0"> |
|
123 <systemModel name="Demo2"> |
|
124 <layer id="layer2" name="layer3" levels="demo"> |
|
125 <package id="package5" href="../layer2/package5/package_definition.xml"/> |
|
126 </layer> |
|
127 </systemModel> |
|
128 </SystemDefinition> |