imgtools/buildrom/tools/imageContent.dtd
changeset 0 044383f39525
equal deleted inserted replaced
-1:000000000000 0:044383f39525
       
     1 <!--
       
     2 Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).    
       
     3 All rights reserved.                                                      
       
     4 This component and the accompanying materials are made available          
       
     5 under the terms of "Eclipse Public License v1.0"                          
       
     6 which accompanies this distribution, and is available                     
       
     7 at the URL "http://www.eclipse.org/legal/epl-v10.html".                   
       
     8                                                                           
       
     9 Initial Contributors:                                                     
       
    10 Nokia Corporation - initial contribution.                                 
       
    11                                                                           
       
    12 Contributors:                                                             
       
    13                                                                           
       
    14 Description:                                                              
       
    15 
       
    16 -->
       
    17 <!ELEMENT imageContent  (version?, romchecksum?, time?, 
       
    18                          options?, romgeometry, romtarget, romscope?)+>
       
    19 
       
    20 <!ELEMENT version       (#PCDATA)>
       
    21 <!ELEMENT romchecksum   (#PCDATA)>
       
    22 <!ELEMENT time          (#PCDATA)>
       
    23 <!ELEMENT romgeometry   (image+)>
       
    24 <!ELEMENT romtarget     (target+)>
       
    25 <!ELEMENT romscope      ((obyFile|cdf)+)>
       
    26 
       
    27 <!ELEMENT options       ((binaryselectionorder | trace       | bootbinary    |
       
    28                           dataaddress          | debugport   | 
       
    29                           defaultstackreserve  | device      | 
       
    30                           wrapper              | kernel      | primary+      | 
       
    31                           secondary+           | romalign    | romlinearbase | 
       
    32                           variant              | autosize    | extension     | coreimage)+)>
       
    33 
       
    34 <!ELEMENT binaryselectionorder (#PCDATA)>
       
    35 <!ELEMENT trace         (#PCDATA)>
       
    36 <!ELEMENT bootbinary    (#PCDATA)>
       
    37 <!ELEMENT wrapper       (#PCDATA)>
       
    38 <!ATTLIST wrapper type  (none|epoc|coff) #REQUIRED>
       
    39 
       
    40 <!ELEMENT kernel        (dataaddress, heapmax, heapmin, name, trace?)>
       
    41 <!ATTLIST kernel number (single|multi) #IMPLIED>
       
    42 
       
    43 <!ELEMENT heapmax   (#PCDATA)>
       
    44 <!ELEMENT heapmin   (#PCDATA)>
       
    45 <!ELEMENT name   (#PCDATA)>
       
    46 
       
    47 <!ELEMENT dataaddress   (#PCDATA)>
       
    48 <!ELEMENT debugport     (#PCDATA)>
       
    49 <!ELEMENT defaultstackreserve   (#PCDATA)>
       
    50 <!ELEMENT device        (file+)>
       
    51 <!ELEMENT primary       (file+)>
       
    52 <!ELEMENT secondary     (file+)>
       
    53 <!ELEMENT variant       (file+)>
       
    54 <!ELEMENT extension     (file+)>
       
    55 <!ELEMENT romalign      (#PCDATA)>
       
    56 <!ELEMENT romlinearbase (#PCDATA)>
       
    57 <!ELEMENT autosize      (#PCDATA)>
       
    58 <!ELEMENT coreimage     (#PCDATA)>
       
    59 
       
    60 <!ELEMENT file       (source,destination,fixed?)>
       
    61 <!ATTLIST file
       
    62 	   id CDATA #REQUIRED>
       
    63 <!ELEMENT source       (#PCDATA)>
       
    64 <!ELEMENT destination  (#PCDATA)>
       
    65 <!ELEMENT fixed	       (#PCDATA)>
       
    66 
       
    67 
       
    68 <!ELEMENT image         (partition?)>
       
    69 <!ATTLIST image
       
    70         id              CDATA #REQUIRED
       
    71         name            CDATA #REQUIRED
       
    72         type            (xip|nonxip) #REQUIRED
       
    73         compression     (compress|nocompress) #IMPLIED
       
    74         extension       (yes|no) "no"
       
    75         size            CDATA #REQUIRED>
       
    76 
       
    77 <!ELEMENT target        (include,exclude?)>
       
    78 <!ATTLIST target imageid CDATA #REQUIRED>
       
    79 <!--- target imageid of any allowed where it there is no constraints on 
       
    80       which image the files should be placed. -->
       
    81 <!ELEMENT include       ((feature|obyFile|cdf)+)>
       
    82 <!ELEMENT exclude       (feature+)>
       
    83 <!ELEMENT partition     (#PCDATA)>
       
    84 <!ELEMENT feature       EMPTY>
       
    85 <!ATTLIST feature name  CDATA #IMPLIED
       
    86                   uid   CDATA #IMPLIED>
       
    87 <!ELEMENT obyFile       (#PCDATA)>
       
    88 <!ELEMENT cdf           (#PCDATA)>
       
    89 <!ATTLIST cdf type      (file|dir) "file">