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] DITA 2.0 proposal: allow example in more contexts


Topics do not require examples at the end of the body (unless you've got a constraint in place). Here's the latest errata version of the DTD, but the only change here from DITA 1.0 is that <bodydiv> was added a couple releases ago:
https://github.com/oasis-tcs/dita/blob/master/doctypes/dtd/base/dtd/topic.mod#L375
<!ENTITY % body.content
                       "(%body.cnt; |
                         %bodydiv; |
                         %example; |
                         %section;)*">

So today - example can be the first thing in your body, followed by everything else.

The restriction only comes up in concept topics, where there was an explicit decision back in DITA 1.0 to put examples and sections at the end:
https://github.com/oasis-tcs/dita/blob/master/doctypes/dtd/technicalContent/dtd/concept.mod#L90
<!ENTITY % conbody.content
                       "((%body.cnt;)*,
                         (%section; |
                          %example; |
                          %conbodydiv;)*)">

I don't have a strong feeling about that restriction one way or the other, but I think it means the change here would be to update the <conbody> content model in concepts rather than <body> in topics.

Robert D. Anderson
DITA-OT lead and Co-editor DITA 1.3 specification
Marketing Services Center

E-mail: robander@us.ibm.com

11501 BURNET RD,, TX, 78758-3400, AUSTIN, USA
IBM


Inactive hide details for Scott Hudson ---08/14/2018 10:55:21 AM---This may be a controversial proposal, but I've seen so many Scott Hudson ---08/14/2018 10:55:21 AM---This may be a controversial proposal, but I've seen so many incidents of this need, that I'd like to

From: Scott Hudson <scott.hudson@jeppesen.com>
To: "dita@lists.oasis-open.org" <dita@lists.oasis-open.org>
Date: 08/14/2018 10:55 AM
Subject: [dita] DITA 2.0 proposal: allow example in more contexts
Sent by: <dita@lists.oasis-open.org>





This may be a controversial proposal, but I've seen so many incidents of this need, that I'd like to revisit this for DITA 2.0.
Alternatively:
We could loosen the requirement that <section> and <example> must occur only at the end of the topic:

<!ENTITY % body.content
"((%body.cnt;)*,
(%section; |
%example; |
%bodydiv;)*)">
To:

<!ENTITY % body.cnt
"%basic.block; |
%data.elements.incl; |
%draft-comment; |
%foreign.unknown.incl; |
%required-cleanup; |
%section; |
%example; |
%bodydiv;">


Thanks and best regards,

--Scott

Voting member:
Boeing Data Standards Technical Advisory Board
OASIS DocBook TC (Secretary), Publishers SC (Chair)
OASIS DITA TC, Tech Comm SC, LwDITA SC, Learning Content SC (Secretary)
OASIS DITA Adoption TC
OASIS Augmented Reality in Information Products (ARIP) TC

Scott Hudson
Content Strategist, Digital Aviation Learning and Development

Jeppesen, A Boeing Company
55 Inverness Drive East
Englewood, CO 80112
303-328-6228 | Cell: 303-350-7934

/Users/scott.hudson/Library/Containers/com.microsoft.Outlook/Data/Library/Caches/Signatures/signature_803397038

This document contains only administrative, uncontrolled data under U.S. International Traffic in Arms Regulations.





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