OASIS Darwin Information Typing Architecture (DITA) TC

 View Only

Entity declarations in DITA 1.2 constraint modules

  • 1.  Entity declarations in DITA 1.2 constraint modules

    Posted 12-03-2010 00:38
    Hi everyone,
    
    I have another question about the example on page 110 of the DITA 1.2
    Spec in CD04. It gives the following example of a constraint module:
    
    
    
    
    In the strictTaskbodyConstraint.mod file, all entities that are used are
    explicitly defined within the .mod file , e.g.
    
    
    These entities are defined elsewhere in the set of DTD files, however
    they do seem to be copied into the .mod file for a good reason. I find
    that if I remove these entity declarations from the .mod file, parsers
    complain.
    
    The above example from the DITA 1.2 spec does not explicitly define
    entities. I'm wondering:
    1) Are .mod files used for constraints supposed to explicitly define
    entities that are used within the file? 
    2) If the answer to #1 is yes, isn't it going to require a lot of
    duplicated DTD code in order to include definitions for %basic.block,
    %data.elements.incl, and %foreign.unknown.incl? 
    
    BTW I've already reported that a semicolon is missing in the example
    after %title.
    
    Cheers,
    Su-Laine
    
    Su-Laine Yeo
    Solutions Consultant 
    JustSystems Canada, Inc.
    Office: 1 (778) 327-6356 
    syeo@justsystems.com
    
    XMetaL Community Forums: http://forums.xmetal.com
    For partners only: http://www.justpartnercenter.com