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