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] Proposal for Consideration: Default Behavior for List Items

[Not sure if this is the right way to contribute to this thread, but I don't see any contributor hooks on the page or in the Help. Responding to http://lists.oasis-open.org/archives/dita/200804/msg00060.html.]
I agree that rendering is an OT issue.
The real issue IMO is that <li> permits #PCDATA and phrase-level elements. These should only be permitted in paragraph-level elements, and any element that permits paragraph-level or "larger" elements as children should not permit #PCDATA and phrase-level elements. This behavior seems to be a relic of the HTML standard.
It is easy for OT and vendors to insert <p> by default, and if <li> begins with some other child element it is only a minor nuisance to delete <p> or insert that child ahead of <p>.
This would simplify the work of rendering and remove the ambivalence that is the topic of this thread.
Perhaps this is already being considered for 1.3 or 2.0.
    /Bruce Nevin

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