sysdef_1_5_1.dtd
branchRCL_3
changeset 19 cce62ebc198e
equal deleted inserted replaced
18:1a6714c53019 19:cce62ebc198e
       
     1  <!ELEMENT SystemDefinition (systemModel?, build?)>
       
     2  <!ATTLIST SystemDefinition
       
     3   name CDATA #REQUIRED
       
     4   schema CDATA #REQUIRED>
       
     5  <!ELEMENT systemModel (layer+)>
       
     6  <!ELEMENT layer (logicalset* | module*)*>
       
     7  <!ATTLIST layer
       
     8   name CDATA #REQUIRED
       
     9   levels CDATA #IMPLIED
       
    10   span CDATA #IMPLIED>
       
    11  <!ELEMENT logicalset (logicalsubset* | module* | unit* | package* | prebuilt*)*>
       
    12  <!ATTLIST logicalset name CDATA #REQUIRED>
       
    13  <!ELEMENT logicalsubset (module* | unit* | package* | prebuilt*)*>
       
    14  <!ATTLIST logicalsubset name CDATA #REQUIRED>
       
    15  <!ELEMENT module (component* | unit* | package* | prebuilt*)*>
       
    16  <!ATTLIST module
       
    17   name CDATA #REQUIRED
       
    18   level CDATA #IMPLIED>
       
    19  <!ELEMENT component (unit* | package* | prebuilt*)*>
       
    20  <!ATTLIST component name CDATA #REQUIRED>
       
    21  <!ELEMENT unit EMPTY>
       
    22  <!ATTLIST unit
       
    23   unitID ID #REQUIRED
       
    24   name CDATA #REQUIRED
       
    25   mrp CDATA #REQUIRED
       
    26   filter CDATA #IMPLIED
       
    27   bldFile CDATA #REQUIRED
       
    28   priority CDATA #IMPLIED
       
    29   contract CDATA #IMPLIED
       
    30   proFile CDATA #IMPLIED
       
    31   qmakeArgs CDATA #IMPLIED>
       
    32  <!ELEMENT package EMPTY>
       
    33  <!ATTLIST package
       
    34   name CDATA #REQUIRED
       
    35   mrp CDATA #REQUIRED
       
    36   filter CDATA #IMPLIED
       
    37   contract CDATA #IMPLIED>
       
    38  <!ELEMENT prebuilt EMPTY>
       
    39  <!ATTLIST prebuilt
       
    40   name CDATA #REQUIRED
       
    41   version CDATA #REQUIRED
       
    42   late (Y|N) #IMPLIED
       
    43   filter CDATA #IMPLIED
       
    44   contract CDATA #IMPLIED>
       
    45  <!ELEMENT build (option* | target+ | targetList+ | unitList+ | configuration+)*>
       
    46  <!ELEMENT unitList (unitRef+)>
       
    47  <!ATTLIST unitList
       
    48   name ID #REQUIRED
       
    49   description CDATA #REQUIRED>
       
    50  <!ELEMENT unitRef EMPTY>
       
    51  <!ATTLIST unitRef unit IDREF #REQUIRED>
       
    52  <!ELEMENT targetList EMPTY>
       
    53  <!ATTLIST targetList
       
    54   name ID #REQUIRED
       
    55   description CDATA #REQUIRED
       
    56   target IDREFS #REQUIRED>
       
    57  <!ELEMENT target EMPTY>
       
    58  <!ATTLIST target
       
    59   name ID #REQUIRED
       
    60   abldTarget CDATA #REQUIRED
       
    61   description CDATA #REQUIRED>
       
    62  <!ELEMENT option EMPTY>
       
    63  <!ATTLIST option
       
    64   name ID #REQUIRED
       
    65   abldOption CDATA #REQUIRED
       
    66   description CDATA #REQUIRED
       
    67   enable (Y | N | y | n) #REQUIRED>
       
    68  <!ELEMENT configuration (unitListRef+ | layerRef+ | task+)*>
       
    69  <!ATTLIST configuration
       
    70   name ID #REQUIRED
       
    71   description CDATA #REQUIRED
       
    72   filter CDATA #REQUIRED>
       
    73  <!ELEMENT task ( unitListRef* , (buildLayer | specialInstructions))>
       
    74  <!ELEMENT unitListRef EMPTY>
       
    75  <!ATTLIST unitListRef unitList IDREF #REQUIRED>
       
    76  <!ELEMENT layerRef EMPTY>
       
    77  <!ATTLIST layerRef layerName CDATA #REQUIRED>
       
    78  <!ELEMENT buildLayer EMPTY>
       
    79  <!ATTLIST buildLayer
       
    80   command CDATA #REQUIRED
       
    81   targetList IDREFS #IMPLIED
       
    82   unitParallel (Y | N | y | n) #REQUIRED
       
    83   targetParallel (Y | N | y | n) #IMPLIED>
       
    84  <!ELEMENT specialInstructions EMPTY>
       
    85  <!ATTLIST specialInstructions
       
    86   name CDATA #REQUIRED
       
    87   cwd CDATA #REQUIRED
       
    88   command CDATA #REQUIRED>