We answered these questions on the LWDITA schemas in the meeting.
Summary:
- Elements with sub-elements like dl/dlentry, ol/li,
simpletable/strow etc. -- define the sub-elements as
one-or-more, not zero-or-more.
- <prolog> for LWDITA needs to have the outputclass
attribute for use with specialization templates, even though
DITA 1.3 does not have it. If not outputclass, then an
equivalent attribute. Discussion needed with main DITA TC on
best way to do this.
- Add props attribute to <topic>, <prolog>,
<shortdesc>, <body>, <fig>, <desc>,
<ph>, <image>, <alt>, <data>,
<param>, and <xref>.
- Add outputclass attribute to <fig>.
Mark Giffin
Mark Giffin Consulting, Inc.
http://markgiffin.com/
On 10/28/2016 6:48 AM, Tim Grantham
wrote:
While I was developing the RELAX-NG version of the LW
DITA DTD, I came across some inconsistencies between the LW
DTD and DITA 1.3. I wasn’t sure if these were by design or
not, so I ran them by Mark Giffin. Here’s his response:
On 10/27/2016 11:10 AM, Tim Grantham wrote:
Hi, Mark.
- <dl> is
defined as having zero or more <dlentry> elements,
where 1.3 defines it as having one or more <dlentry>
elements
We should
fix this. We agreed in last meeting to make RNG the main
schema type, can you add this and the other zero-or-more
items below?
- <ul> and
<ol> are defined as having zero or more <li>
elements, where 1.3 defines it as having one or more
<li> elements
see above.
- <prolog>
is defined as having an outputclass attribute, where it
does not in 1.3
We need this
for the specialization template I believe. If you have
an argument against it, please bring it up in a meeting
or the list.
- The props
(filters) attribute is not available on the <topic>,
<prolog>, <shortdesc>, <body>,
<fig>, <desc>, <ph>, <image>,
<alt>, <data>, <param>, and
<xref>, where in 1.3 the elements are defined as
having the
filtering attributes.
Good
question for the list or a meeting. I don't recall what
was decided on props. My impression is that we just want
LWDITA to be simpler, and so left it off.
- <fig> is
defined as not having the outputclass attribute, where it
does in 1.3
This
probably need to be added, I may have missed it. Good
question for the list.
- <simpletable>
is defined as having zero or more <strow> elements,
where 1.3 defines it as having one or more <strow>
elements
See above
about zero-or-more.
- <sthead>
is defined as having zero or more <stentry>
elements, where 1.3 defines it as having one or more
<stentry> elements
See above.
Thanks!
Mark
|