sysmodelmgr/com.symbian.smt.gui.test/src/com/symbian/smt/gui/validSysDef.xml
changeset 0 522a326673b6
equal deleted inserted replaced
-1:000000000000 0:522a326673b6
       
     1 <?xml version="1.0"?>
       
     2 <!DOCTYPE SystemDefinition [
       
     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 			</collection>
       
    79 		</layer>
       
    80 		<layer name="bar1">
       
    81 			<block name="bar2">
       
    82 				<collection name="bar3">
       
    83 					<component name="bar4" filter="bar1">
       
    84 						<unit mrp="another.mrp"/>
       
    85 					</component>
       
    86 				</collection>
       
    87 			</block>
       
    88 		</layer>
       
    89 		<layer name="bash" levels="low">
       
    90 			<block name="bash2" level="low">
       
    91 				<collection name="bash2">
       
    92 					<component name="bash3" filter="bash4">
       
    93 						<unit mrp="yetanother.mrp"/>
       
    94 					</component>
       
    95 				</collection>
       
    96 				<collection name="bash5">
       
    97 					<component name="bash6" filter="bash4">
       
    98 						<unit bldFile="group" mrp="fudge.mrp"/>
       
    99 					</component>
       
   100 				</collection>
       
   101 			</block>
       
   102 		</layer>
       
   103 	</systemModel>
       
   104 </SystemDefinition>