OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

dita message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [dita] Bug in 1.3 learningMapDomain Declarations: No Default for @format for Maprefs


I reviewed the reference entries for learningObjectMapRef and learningGroupMapRef and both state that the default for @format *is* set to "ditamap".

So the bug is entirely in the grammars where the grammars do not reflect the intent of the spec.

Notably, the examples in the spec show explicit @format attributes, which is why we probably never noticed this bug.

Cheers,

E.

--
Eliot Kimber
http://contrext.com
 

ïOn 9/9/18, 10:51 AM, "Eliot Kimber" <dita@lists.oasis-open.org on behalf of ekimber@contrext.com> wrote:

    I just noticed that we (I) failed to specify a default value for the @format attribute as used with learning map references (defined in the learning map domain):
    
        <define name="learningDomain-mapref-atts" dita:since="1.3">
          <ref name="learningDomain-topicref-atts-no-chunk"/>
          <optional>
            <attribute name="format"/>
          </optional>
        </define>
    
    The generated DTD reflects the same declaration (that is, the default is "#IMPLIED" rather than "ditamap" as it should be.
    
    The fix is to specify a:defaultValue="ditamap" on this declaration of the @format attribute and in the corresponding declarations in the learningMapDomain DTD and XSD files.
    
    The symptom of this bug is that learningObjectMapRef and learningGroupMapRef do not function correctly as map references unless you explicitly set the @format attribute "ditamap".
    
    Cheers,
    
    E.ï
    --
    Eliot Kimber
    http://contrext.com
     
    
    
    
    ---------------------------------------------------------------------
    To unsubscribe from this mail list, you must leave the OASIS TC that
    generates this mail.  Follow this link to all your TCs in OASIS at:
    https://www.oasis-open.org/apps/org/workgroup/portal/my_workgroups.php
    
    
    




[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]