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

 


Help: OASIS Mailing Lists Help | MarkMail Help

dita-comment message

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


Subject: Possible bug in DITA 1.2 glossentryMod.xsd?


I think I'm running into a bug in the latest (as of this writing) DITA 1.2 XML schemas, specifically glossentryMod.xsd.  Looking at glossentry in the DITA 1.2 language reference:

http://docs.oasis-open.org/dita/v1.2/cd03/spec/langref/glossentry.html

The glossentry topic type requires glossterm, followed by an optional glossdef, an optional prolog, an optional glossbody, an optional required-links, and so on.  The latest DTDs match the language reference.  However, in glossentryMod.xsd, we have:

   <xs:group name="glossenrty.content">
     <xs:sequence>
        <xs:sequence>
             <xs:group ref="glossterm"/>
             <xs:group ref="glossdef" />
             <xs:group ref="prolog" />
             <xs:group ref="glossBody" />
             <xs:group ref="related-links" minOccurs="0"/>
             <xs:group ref="glossentry-info-types" minOccurs="0" maxOccurs="unbounded"/>
         </xs:sequence>
     </xs:sequence>
   </xs:group>

If I'm following the glossentry definition correctly, the references to glossdef, prolog, and glossbody are missing the minOccurs="0" attribute.

The group name (and the reference to it) also has a typo, for what it's worth...

glossenrty.content -> glossentry.content

Thanks,

Tony

--
Tony Morales
Information Tools Architect
Oracle Corporation




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