Diff for /Amaya/amaya/Template.S between versions 1.21 and 1.22

version 1.21, 2007/01/24 10:14:35 version 1.22, 2007/01/26 13:15:48
Line 26  STRUCT Line 26  STRUCT
       attribute;        attribute;
     END;      END;
   
   head = LIST OF (     head ( ATTR version = TEXT; templateVersion = TEXT ) = 
     Declaration = CASE OF      LIST OF ( Declaration = CASE OF
       component;        component;
       union;        union;
       import;        import;
     END      END
    );     );
   
   component ( ATTR name = TEXT; title = TEXT ) = ANY - ( head, union, import );    component ( ATTR name = TEXT ) = ANY - ( head, union, import );
   union ( ATTR name; includeAt = TEXT; exclude = TEXT; title ) = CONSTANT C_CR; {It is always empty}    union ( ATTR name; includeAt = TEXT; exclude = TEXT ) = CONSTANT C_CR; {It is always empty}
   import ( ATTR src = TEXT ) = CONSTANT C_CR; {It is always empty}    import ( ATTR src = TEXT ) = CONSTANT C_CR; {It is always empty}
   
   folder = ANY - ( head, union, import, component );    folder = ANY - ( head, union, import, component );
   
   repeat ( ATTR ref = TEXT; minOccurs = TEXT; maxOccurs = TEXT; currentOccurs =    repeat ( ATTR ref = TEXT; minOccurs = TEXT; maxOccurs = TEXT; currentOccurs = TEXT ) =
         TEXT; title ) =  
         LIST OF ( Repetition =          LIST OF ( Repetition =
                   CASE OF                    CASE OF
                     useEl;                      useEl;
Line 56  STRUCT Line 55  STRUCT
   option ( ATTR ref )    option ( ATTR ref )
         = ANY - ( head, union, import, component );          = ANY - ( head, union, import, component );
       
   useEl ( ATTR ref; types = TEXT; currentType = TEXT; title )    useEl ( ATTR ref; types = TEXT; currentType = TEXT )
      = ANY - ( head, union, import, component );       = ANY - ( head, union, import, component );
   
   useSimple ( ATTR ref; types; currentType; title )    useSimple ( ATTR ref; types )
      = ANY - ( head, union, import, component );       = ANY - ( head, union, import, component );
   
   bag ( ATTR ref; types )     bag ( ATTR ref; types ) 
Line 72  STRUCT Line 71  STRUCT
     defaultAt = TEXT;       defaultAt = TEXT; 
     fixed = TEXT;       fixed = TEXT; 
     values = TEXT;      values = TEXT;
     title ) = CONSTANT C_CR; {It is always empty}      ) = CONSTANT C_CR; {It is always empty}
   
 EXCEPT  EXCEPT
   useEl:              NoReplicate, NoBreakByReturn, NoCreate;    useEl:              NoReplicate, NoBreakByReturn, NoCreate;
Line 84  EXCEPT Line 83  EXCEPT
         Unknown_attribute:  Invisible;          Unknown_attribute:  Invisible;
         Language:           Invisible;          Language:           Invisible;
   types :             DuplicateAttr;    types :             DuplicateAttr;
   currentType:        Invisible, GiveName;    currentType:        Invisible;
   ref:                Invisible;    ref:                Invisible, GiveName;
     ref_name:               GiveName;
     name:                   GiveName;
                   
 END  END

Removed from v.1.21  
changed lines
  Added in v.1.22


Webmaster