OASIS Darwin Information Typing Architecture (DITA) TC

 View Only
Expand all | Collapse all

RE: [dita] Proposal for Consideration: Default Behavior for List Items

  • 1.  RE: [dita] Proposal for Consideration: Default Behavior for List Items

    Posted 06-10-2008 16:25
    
    
    
    
    
    [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


  • 2.  RE: [dita] Proposal for Consideration: Default Behavior for List Items

    Posted 06-10-2008 16:47

    Hi, Bruce:

    The intent of the DITA 1.2 constraints enhancement is to make it possible for adopters to implement simplifications like block-only content within sections and list items without forcing specialization or breaking backward compatibility.


    Hoping that's interesting,


    Erik Hennum
    ehennum@us.ibm.com


    "Bruce Nevin (bnevin)" <bnevin@cisco.com> wrote on 06/10/2008 09:22:21 AM:
    >
    > RE: [dita] Proposal for Consideration: Default Behavior for List Items

    >  
    > 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.



  • 3.  RE: [dita] Proposal for Consideration: Default Behavior for List Items

    Posted 06-10-2008 18:28

    A few points:

    - This would be a backwards-incompatible change. That is, it would render invalid a large proportion of the existing DITA content out there. I think we could consider this for 2.0 if the cost of converting all back-level content was justified by the benefits (I'm not currently convinced myself, but that would be the timeline to make the arguments)
    - This would also render the current task specialization invalid, since it specializes a <ph> element as the first child of <step>. As an exercise, see what any of the list specializations would look like, if only block-level elements were allowed (I suspect it would break most of them).

    Finally, and leaving aside the pragmatic reasons not to make a backwards-incompatible change to the schemas and DTDs at this point, I'm still not sure why this:

    <li><p>Do something</p>
           <p>One of three things happens:</p>
           <ul><li><p>A</p></li>
                   <li><p>B</p></li>        
                   <li><p>B</p></li>        
           </ul>
    </li>

    Is better than this:

    <li>Do something.
          <p>One of three things happens:
              <ul><li>A</li>
                      <li>B</li>        
                      <li>B</li>        
              </ul>
          </p>
    </li>

    If it's a relic of HTML, I'm not sure why it's a bad relic. The adoption of HTML hasn't exactly been crippled by this approach.        

    Michael Priestley
    Lead IBM DITA Architect
    mpriestl@ca.ibm.com
    http://dita.xml.org/blog/25



    "Bruce Nevin (bnevin)" <bnevin@cisco.com>

    06/10/2008 12:22 PM

    To
    <dita@lists.oasis-open.org>
    cc
    "Bruce Nevin (bnevin)" <bnevin@cisco.com>
    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


  • 4.  Re: [dita] Proposal for Consideration: Default Behavior for ListItems

    Posted 06-10-2008 20:06
      |   view attached

    Attachment(s)

    vcf
    azydron.vcf   240 B 1 version


  • 5.  Re: [dita] Proposal for Consideration: Default Behavior for List Items

    Posted 06-10-2008 20:26

    Hi Andrzej,

    I don't mean to suggest that HTML is without faults. Just that the example I posed does not strike me as one of them.

    The counter example you offer is not one I'm prepared to defend. I agree it's bad form. I regard it as a failure of XML that it cannot assert sequences on mixed content models. IE, I want to disallow the case you describe, while allowing the case I describe.

    Given that failure in XML, it seems we have two opposing strategies:
    - mine is to support the defensible markup and try to address the indefensible markup in other ways (authoring guidelines, post-processing cleanup, etc.)
    - yours is to disallow both the defensible and indefensible markup, since XML validation cannot distinguish between them.

    This doesn't mean we are in horrible disagreement about markup rules, but about where best to draw the line in a continuum of practice.

    With regards to the last two things you mention (highlighting domain and conreffing nouns):

    - the highlighting domain is explicitly *not* part of DITA base precisely so it can be excluded when more valid markup is available. That said, when the more valid markup is *not* available, I do believe it is better semantically to use <b> then to misuse <uicontrol> or some other semantic element. In other words, the highlighting markup tells us nothing, but that's better than telling a lie.
    - re conreffing nouns: I thought we had already gone over this. There are times when it is perfectly legitimate to conref nouns. Here are some of them:

            - reuse of UI strings to ensure consistency between documentation and interface (these can be resolved prior to sending to translation)
            - reuse of product names that have explicitly been vetted for such a purpose (this applies to most IBM product names I believe)
            - reuse of indexterm or prolog metadata content
            - simple lists of nouns (not part of a sentence)

    I am frustrated that we seem to always be walking the same ground.

    Michael Priestley
    Lead IBM DITA Architect
    mpriestl@ca.ibm.com
    http://dita.xml.org/blog/25



    Andrzej Zydron <azydron@xml-intl.com>

    06/10/2008 04:05 PM

    To
    Michael Priestley/Toronto/IBM@IBMCA
    cc
    dita@lists.oasis-open.org, "Bruce Nevin (bnevin)" <bnevin@cisco.com>
    Subject
    Re: [dita] Proposal for Consideration: Default Behavior for List Items





    Hi Michael,

    Your example failed to highlight the real problem, which is:

    <li>Do something.
         <p>One of three things happens:
             <ul><li>A</li>
                     <li>B</li>        
                     <li>B</li>        
             </ul>
           that really screw up segmentation, translation and any sane
           form of linguistic processing.
         </p>
    </li>

    The problem is that HTML was a VERY BAD IMPLEMENTATION of SGML. It
    concentrated on form rather than structure (mixing up both which is, if
    not a sin against humanity, then definitely one against common sense ;)
    ), which is why we needed XML. Basing an XML vocabulary on HTML (which
    would not even parse in SGML terms after about version 2.0) was, at best
    IMHO a dubious choice.

    Rather like <b>, <u>, <i> and translatable attributes this should all be
    consigned to the DITA 'deprecated' bin of history (BTW the same should
    be true of CONREF for individual nouns or noun phrases), and good
    riddance to it all. Anybody who has had to cope with translating such
    documents will testify to the difficulties involved therein.

    Best Regards,

    AZ



    Michael Priestley wrote:
    >
    > A few points:
    >
    > - This would be a backwards-incompatible change. That is, it would
    > render invalid a large proportion of the existing DITA content out
    > there. I think we could consider this for 2.0 if the cost of
    > converting all back-level content was justified by the benefits (I'm
    > not currently convinced myself, but that would be the timeline to make
    > the arguments)
    > - This would also render the current task specialization invalid,
    > since it specializes a <ph> element as the first child of <step>. As
    > an exercise, see what any of the list specializations would look like,
    > if only block-level elements were allowed (I suspect it would break
    > most of them).
    >
    > Finally, and leaving aside the pragmatic reasons not to make a
    > backwards-incompatible change to the schemas and DTDs at this point,
    > I'm still not sure why this:
    >
    > <li><p>Do something</p>
    >        <p>One of three things happens:</p>
    >        <ul><li><p>A</p></li>
    >                <li><p>B</p></li>        
    >                <li><p>B</p></li>        
    >        </ul>
    > </li>
    >
    > Is better than this:
    >
    > <li>Do something.
    >       <p>One of three things happens:
    >           <ul><li>A</li>
    >                   <li>B</li>        
    >                   <li>B</li>        
    >           </ul>
    >       </p>
    > </li>
    >
    > If it's a relic of HTML, I'm not sure why it's a bad relic. The
    > adoption of HTML hasn't exactly been crippled by this approach.        
    >
    > Michael Priestley
    > Lead IBM DITA Architect
    > mpriestl@ca.ibm.com
    > http://dita.xml.org/blog/25
    >
    >
    > *"Bruce Nevin (bnevin)" <bnevin@cisco.com>*
    >
    > 06/10/2008 12:22 PM
    >
    >                  
    > To
    >                  <dita@lists.oasis-open.org>
    > cc
    >                  "Bruce Nevin (bnevin)" <bnevin@cisco.com>
    > 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

    --
    email - azydron@xml-intl.com
    smail - c/o Mr. A.Zydron
                    PO Box 2167
           Gerrards Cross
           Bucks SL9 8XF
                    United Kingdom
    Mobile +(44) 7966 477 181
    FAX    +(44) 1753 480 465
    www - http://www.xml-intl.com

    This message contains confidential information and is intended only for
    the individual named.  If you are not the named addressee you may not
    disseminate, distribute or copy this e-mail.  Please notify the sender
    immediately by e-mail if you have received this e-mail by mistake and
    delete this e-mail from your system.
    E-mail transmission cannot be guaranteed to be secure or error-free as
    information could be intercepted, corrupted, lost, destroyed, arrive
    late or incomplete, or contain viruses.  The sender therefore does not
    accept liability for any errors or omissions in the contents of this
    message which arise as a result of e-mail transmission.  If verification
    is required please request a hard-copy version. Unless explicitly stated
    otherwise this message is provided for informational purposes only and
    should not be construed as a solicitation or offer.


    [attachment "azydron.vcf" deleted by Michael Priestley/Toronto/IBM] ---------------------------------------------------------------------
    To unsubscribe from this mail list, you must leave the OASIS TC that
    generates this mail.  You may a link to this group and all your TCs in OASIS
    at:
    https://www.oasis-open.org/apps/org/workgroup/portal/my_workgroups.php



  • 6.  RE: [dita] Proposal for Consideration: Default Behavior for List Items

    Posted 06-10-2008 21:07
    Thanks for the cc to me, Andrej. (Someone please offline point me to the
    right help file to learn how to engage this thread properly. Is it a
    subscription thing?) 
    
    > If it's a relic of HTML, I'm not sure why it's a bad relic. The 
    > adoption of HTML hasn't exactly been crippled by this approach.
    
    
    I suspect that on careful consideration, Michael, you might want to
    rephrase that. I know I don't have to tell you that HTML browsers have a
    much simpler rendering task because they're just about format, so the
    HTML spec can get away with ignoring semantic criteria. We can't. That's
    why a relic of HTML that is not semantically motivated is a bad thing
    for XML, and a bad thing for DITA.
    
    Case in point: To say that the text before a list (which may contain
    paragraphs, tables, lists, figures, etc.) is in the _same_paragraph_ 

    as the text after that list is perverse and contrary to any ordinary notion of "paragraph". Conversely, if DITA has its own definition of "paragraph" allowing that, then why not allow

    as a child of

    ? The same logic that proscribes that should proscribe anything like it, including lists. There is undoubtedly a cost to correcting bad decisions after their effects have become established. Bear in mind that if not corrected such considerations may become a barrier to adoption in the future after the utility of an on-ramp to XML wears off and users want closer semantic control of their content. We spoke of usability issues in the TC today. Here is one staring us in the face. Users found it confusing. Very possibly OT developers found it confusing, whence the disparate rendering. Making a clean categorization of elements in terms of their complexity could reduce confusion and simplify OT work. By complexity I mean something like phrase can only containt #PCDATA, para can only contain phrase and #PCDATA, "block" = {list, table, ...} can only contain para and "block", etc. This is representative of a larger issue. Another example is the decision to make lists and tables semantically distinct. That is properly a rendering distinction. Any table can be rendered as a list whose list items (the row elements) are parallel in structure. Any list whose items are parallel in structure (such as a list of steps) can be rendered as a table. Development of adaptable facilities for semantic tables is one of the unresolved challenges and potential benefits of XML, and that decision to sunder lists from tables obscures the means. That's a digression from the current thread, so we ought not to pursue it here. I just mention it to indicate that this is part of a larger issue of relics of HTML format markup that may be lurking, which should have been put in question relative to the SGML standard during the inception of DITA, but which for whatever reason were not. /BN >



  • 7.  RE: [dita] Proposal for Consideration: Default Behavior for List Items

    Posted 06-11-2008 00:20

    Hi Bruce,

    Again I'm not defending HTML in general - but it's still not clear to me why in the two examples I gave the one with the extra tags is actually semantically better. And I'm not talking about text both before and after a paragraph - or before and after any block. Just before, and just some of the time. Does it make sense to require everyone who authors a list to add a paragraph to every list, just because in some cases it's useful?

    Please don't think this aspect of DITA happened because of ignorance or lack of thought. A lot of thought and argument went into it. I'm happy to have those discussions again - it's a reflection of DITA's success that people are still interested in these issues. But as I said in my note to Andrzej, there is a tradeoff between being permissive and allowing bad markup and being restrictive and enforcing unnecessary markup. DITA's current positioning is somewhere in the midpoint of two possible extremes - it allows some bad markup (like text after a block) and requires some unnecessary markup (like body for a simple one-paragraph topic). But please be aware of the tradeoffs that each position entails.

    In terms of issues with usability etc. - I think there is always room for improvement. But my own assessment is that the confusion caused by a backwards-incompatible revamp of the standard that breaks every existing tool and most existing content would cause a lot more usability problems than our current loose content model does. And you haven't addressed what would happen to all the specializations which would become broken, including ones that have been around since DITA 1.0, such as task.

    In terms of lists and tables: believe it or not, we had this discussion too back in the early years. The current design of simpletable reflects an effort to converge the content models at least to some degree (simplifying tables to the point where they could be thought of as multipart lists, unlike CALS tables with spans etc.). And the door is still open to introduce some base classes in the future from which both lists and simpletables could derive (probably in the 2.0 timeframe). But we didn't include it in DITA 1.0 because we couldn't see any usability benefit in doing so. It's a more semantically pure model but doesn't hit the author.

    Michael Priestley
    Lead IBM DITA Architect
    mpriestl@ca.ibm.com
    http://dita.xml.org/blog/25



    "Bruce Nevin (bnevin)" <bnevin@cisco.com>

    06/10/2008 05:06 PM

    To
    "Andrzej Zydron" <azydron@xml-intl.com>, Michael Priestley/Toronto/IBM@IBMCA
    cc
    <dita@lists.oasis-open.org>
    Subject
    RE: [dita] Proposal for Consideration: Default Behavior for List Items





    Thanks for the cc to me, Andrej. (Someone please offline point me to the
    right help file to learn how to engage this thread properly. Is it a
    subscription thing?)

    > If it's a relic of HTML, I'm not sure why it's a bad relic. The
    > adoption of HTML hasn't exactly been crippled by this approach.


    I suspect that on careful consideration, Michael, you might want to
    rephrase that. I know I don't have to tell you that HTML browsers have a
    much simpler rendering task because they're just about format, so the
    HTML spec can get away with ignoring semantic criteria. We can't. That's
    why a relic of HTML that is not semantically motivated is a bad thing
    for XML, and a bad thing for DITA.

    Case in point: To say that the text before a list (which may contain
    paragraphs, tables, lists, figures, etc.) is in the _same_paragraph_ <p>
    as the text after that list is perverse and contrary to any ordinary
    notion of "paragraph". Conversely, if DITA has its own definition of
    "paragraph" allowing that, then why not allow <p> as a child of <p>? The
    same logic that proscribes that should proscribe anything like it,
    including lists.

    There is undoubtedly a cost to correcting bad decisions after their
    effects have become established. Bear in mind that if not corrected such
    considerations may become a barrier to adoption in the future after the
    utility of an on-ramp to XML wears off and users want closer semantic
    control of their content. We spoke of usability issues in the TC today.
    Here is one staring us in the face. Users found it confusing. Very
    possibly OT developers found it confusing, whence the disparate
    rendering. Making a clean categorization of elements in terms of their
    complexity could reduce confusion and simplify OT work. By complexity I
    mean something like phrase can only containt #PCDATA, para can only
    contain phrase and #PCDATA, "block" = {list, table, ...} can only
    contain para and "block", etc.

    This is representative of a larger issue. Another example is the
    decision to make lists and tables semantically distinct. That is
    properly a rendering distinction. Any table can be rendered as a list
    whose list items (the row elements) are parallel in structure. Any list
    whose items are parallel in structure (such as a list of steps) can be
    rendered as a table. Development of adaptable facilities for semantic
    tables is one of the unresolved challenges and potential benefits of
    XML, and that decision to sunder lists from tables obscures the means.

    That's a digression from the current thread, so we ought not to pursue
    it here. I just mention it to indicate that this is part of a larger
    issue of relics of HTML format markup that may be lurking, which should
    have been put in question relative to the SGML standard during the
    inception of DITA, but which for whatever reason were not.

                    /BN

    >



  • 8.  RE: [dita] Proposal for Consideration: Default Behavior for List Items

    Posted 06-11-2008 00:50

    PS:

    Given that different groups do have different opinions about the appropriate practice here, there is a feature already slotted for DITA 1.2 designed to allow groups to apply their own constraints, including constraints like disallowing mixed text/block content models. This allows new adopters to get the usability advantages you see while giving others the flexibility they see a requirement for - and without breaking existing content or specializations.

    Would it make sense to define a set of constraints for this authoring model as a common practice/capability? That's something we could target for 1.3, since it would take advantage of 1.2 and not break backwards compatibility. And we could make the constraint package available outside the standard as a first demo of the constraints capabilities as soon as 1.2 becomes available.

    Michael Priestley
    Lead IBM DITA Architect
    mpriestl@ca.ibm.com
    http://dita.xml.org/blog/25



    Michael Priestley/Toronto/IBM@IBMCA

    06/10/2008 08:19 PM

    To
    "Bruce Nevin (bnevin)" <bnevin@cisco.com>
    cc
    "Andrzej Zydron" <azydron@xml-intl.com>, dita@lists.oasis-open.org
    Subject
    RE: [dita] Proposal for Consideration: Default Behavior for List Items






    Hi Bruce,


    Again I'm not defending HTML in general - but it's still not clear to me why in the two examples I gave the one with the extra tags is actually semantically better. And I'm not talking about text both before and after a paragraph - or before and after any block. Just before, and just some of the time. Does it make sense to require everyone who authors a list to add a paragraph to every list, just because in some cases it's useful?


    Please don't think this aspect of DITA happened because of ignorance or lack of thought. A lot of thought and argument went into it. I'm happy to have those discussions again - it's a reflection of DITA's success that people are still interested in these issues. But as I said in my note to Andrzej, there is a tradeoff between being permissive and allowing bad markup and being restrictive and enforcing unnecessary markup. DITA's current positioning is somewhere in the midpoint of two possible extremes - it allows some bad markup (like text after a block) and requires some unnecessary markup (like body for a simple one-paragraph topic). But please be aware of the tradeoffs that each position entails.


    In terms of issues with usability etc. - I think there is always room for improvement. But my own assessment is that the confusion caused by a backwards-incompatible revamp of the standard that breaks every existing tool and most existing content would cause a lot more usability problems than our current loose content model does. And you haven't addressed what would happen to all the specializations which would become broken, including ones that have been around since DITA 1.0, such as task.


    In terms of lists and tables: believe it or not, we had this discussion too back in the early years. The current design of simpletable reflects an effort to converge the content models at least to some degree (simplifying tables to the point where they could be thought of as multipart lists, unlike CALS tables with spans etc.). And the door is still open to introduce some base classes in the future from which both lists and simpletables could derive (probably in the 2.0 timeframe). But we didn't include it in DITA 1.0 because we couldn't see any usability benefit in doing so. It's a more semantically pure model but doesn't hit the author.


    Michael Priestley
    Lead IBM DITA Architect
    mpriestl@ca.ibm.com
    http://dita.xml.org/blog/25


    "Bruce Nevin (bnevin)" <bnevin@cisco.com>

    06/10/2008 05:06 PM


    To
    "Andrzej Zydron" <azydron@xml-intl.com>, Michael Priestley/Toronto/IBM@IBMCA
    cc
    <dita@lists.oasis-open.org>
    Subject
    RE: [dita] Proposal for Consideration: Default Behavior for List Items







    Thanks for the cc to me, Andrej. (Someone please offline point me to the
    right help file to learn how to engage this thread properly. Is it a
    subscription thing?)

    > If it's a relic of HTML, I'm not sure why it's a bad relic. The
    > adoption of HTML hasn't exactly been crippled by this approach.


    I suspect that on careful consideration, Michael, you might want to
    rephrase that. I know I don't have to tell you that HTML browsers have a
    much simpler rendering task because they're just about format, so the
    HTML spec can get away with ignoring semantic criteria. We can't. That's
    why a relic of HTML that is not semantically motivated is a bad thing
    for XML, and a bad thing for DITA.

    Case in point: To say that the text before a list (which may contain
    paragraphs, tables, lists, figures, etc.) is in the _same_paragraph_ <p>
    as the text after that list is perverse and contrary to any ordinary
    notion of "paragraph". Conversely, if DITA has its own definition of
    "paragraph" allowing that, then why not allow <p> as a child of <p>? The
    same logic that proscribes that should proscribe anything like it,
    including lists.

    There is undoubtedly a cost to correcting bad decisions after their
    effects have become established. Bear in mind that if not corrected such
    considerations may become a barrier to adoption in the future after the
    utility of an on-ramp to XML wears off and users want closer semantic
    control of their content. We spoke of usability issues in the TC today.
    Here is one staring us in the face. Users found it confusing. Very
    possibly OT developers found it confusing, whence the disparate
    rendering. Making a clean categorization of elements in terms of their
    complexity could reduce confusion and simplify OT work. By complexity I
    mean something like phrase can only containt #PCDATA, para can only
    contain phrase and #PCDATA, "block" = {list, table, ...} can only
    contain para and "block", etc.

    This is representative of a larger issue. Another example is the
    decision to make lists and tables semantically distinct. That is
    properly a rendering distinction. Any table can be rendered as a list
    whose list items (the row elements) are parallel in structure. Any list
    whose items are parallel in structure (such as a list of steps) can be
    rendered as a table. Development of adaptable facilities for semantic
    tables is one of the unresolved challenges and potential benefits of
    XML, and that decision to sunder lists from tables obscures the means.

    That's a digression from the current thread, so we ought not to pursue
    it here. I just mention it to indicate that this is part of a larger
    issue of relics of HTML format markup that may be lurking, which should
    have been put in question relative to the SGML standard during the
    inception of DITA, but which for whatever reason were not.

                   /BN

    >




  • 9.  RE: [dita] Proposal for Consideration: Default Behavior for List Items

    Posted 06-16-2008 17:07
    
    
    
    
    


  • 10.  RE: [dita] Proposal for Consideration: Default Behavior for List Items

    Posted 06-11-2008 01:53
    
    
    
    
    
    Yes, it's an old dichotomy. PDP-11 had the Fascist approach, with UNIX you are free to shoot yourself in the foot (or head).
     
    A categorization by complexity is in fact a middle path with a lot of flexibility, but it sounds like the repercussions of changing something so deeply rooted in the architecture would be like telling all keyboard users they have to switch from qwerty to dvorak.
     
    That leaves it to users to do it locally with guidelines,  best practices, authoring tool customizations, and DITA specializations. It seems to me that such issues should be exposed and made explicit to users, so that they can make decisions in an informed and intelligent way.
     
    Andrzej, my apology for misspelling your name. Here's a cheer for OAXAL!
     
        /BN


    From: Michael Priestley [mailto:mpriestl@ca.ibm.com]
    Sent: Tuesday, June 10, 2008 8:19 PM
    To: Bruce Nevin (bnevin)
    Cc: Andrzej Zydron; dita@lists.oasis-open.org
    Subject: RE: [dita] Proposal for Consideration: Default Behavior for List Items


    Hi Bruce,

    Again I'm not defending HTML in general - but it's still not clear to me why in the two examples I gave the one with the extra tags is actually semantically better. And I'm not talking about text both before and after a paragraph - or before and after any block. Just before, and just some of the time. Does it make sense to require everyone who authors a list to add a paragraph to every list, just because in some cases it's useful?

    Please don't think this aspect of DITA happened because of ignorance or lack of thought. A lot of thought and argument went into it. I'm happy to have those discussions again - it's a reflection of DITA's success that people are still interested in these issues. But as I said in my note to Andrzej, there is a tradeoff between being permissive and allowing bad markup and being restrictive and enforcing unnecessary markup. DITA's current positioning is somewhere in the midpoint of two possible extremes - it allows some bad markup (like text after a block) and requires some unnecessary markup (like body for a simple one-paragraph topic). But please be aware of the tradeoffs that each position entails.

    In terms of issues with usability etc. - I think there is always room for improvement. But my own assessment is that the confusion caused by a backwards-incompatible revamp of the standard that breaks every existing tool and most existing content would cause a lot more usability problems than our current loose content model does. And you haven't addressed what would happen to all the specializations which would become broken, including ones that have been around since DITA 1.0, such as task.

    In terms of lists and tables: believe it or not, we had this discussion too back in the early years. The current design of simpletable reflects an effort to converge the content models at least to some degree (simplifying tables to the point where they could be thought of as multipart lists, unlike CALS tables with spans etc.). And the door is still open to introduce some base classes in the future from which both lists and simpletables could derive (probably in the 2.0 timeframe). But we didn't include it in DITA 1.0 because we couldn't see any usability benefit in doing so. It's a more semantically pure model but doesn't hit the author.

    Michael Priestley
    Lead IBM DITA Architect
    mpriestl@ca.ibm.com
    http://dita.xml.org/blog/25



    "Bruce Nevin (bnevin)" <bnevin@cisco.com>

    06/10/2008 05:06 PM

    To
    "Andrzej Zydron" <azydron@xml-intl.com>, Michael Priestley/Toronto/IBM@IBMCA
    cc
    <dita@lists.oasis-open.org>
    Subject
    RE: [dita] Proposal for Consideration: Default Behavior for List Items





    Thanks for the cc to me, Andrej. (Someone please offline point me to the
    right help file to learn how to engage this thread properly. Is it a
    subscription thing?)

    > If it's a relic of HTML, I'm not sure why it's a bad relic. The
    > adoption of HTML hasn't exactly been crippled by this approach.


    I suspect that on careful consideration, Michael, you might want to
    rephrase that. I know I don't have to tell you that HTML browsers have a
    much simpler rendering task because they're just about format, so the
    HTML spec can get away with ignoring semantic criteria. We can't. That's
    why a relic of HTML that is not semantically motivated is a bad thing
    for XML, and a bad thing for DITA.

    Case in point: To say that the text before a list (which may contain
    paragraphs, tables, lists, figures, etc.) is in the _same_paragraph_ <p>
    as the text after that list is perverse and contrary to any ordinary
    notion of "paragraph". Conversely, if DITA has its own definition of
    "paragraph" allowing that, then why not allow <p> as a child of <p>? The
    same logic that proscribes that should proscribe anything like it,
    including lists.

    There is undoubtedly a cost to correcting bad decisions after their
    effects have become established. Bear in mind that if not corrected such
    considerations may become a barrier to adoption in the future after the
    utility of an on-ramp to XML wears off and users want closer semantic
    control of their content. We spoke of usability issues in the TC today.
    Here is one staring us in the face. Users found it confusing. Very
    possibly OT developers found it confusing, whence the disparate
    rendering. Making a clean categorization of elements in terms of their
    complexity could reduce confusion and simplify OT work. By complexity I
    mean something like phrase can only containt #PCDATA, para can only
    contain phrase and #PCDATA, "block" = {list, table, ...} can only
    contain para and "block", etc.

    This is representative of a larger issue. Another example is the
    decision to make lists and tables semantically distinct. That is
    properly a rendering distinction. Any table can be rendered as a list
    whose list items (the row elements) are parallel in structure. Any list
    whose items are parallel in structure (such as a list of steps) can be
    rendered as a table. Development of adaptable facilities for semantic
    tables is one of the unresolved challenges and potential benefits of
    XML, and that decision to sunder lists from tables obscures the means.

    That's a digression from the current thread, so we ought not to pursue
    it here. I just mention it to indicate that this is part of a larger
    issue of relics of HTML format markup that may be lurking, which should
    have been put in question relative to the SGML standard during the
    inception of DITA, but which for whatever reason were not.

                    /BN

    >



  • 11.  RE: [dita] Proposal for Consideration: Default Behavior for List Items

    Posted 06-15-2008 16:39

    Hi, Andrzej, Bruce, and Michael:

    Not to protract the thread, but Jim Early and Scott Hudson (I think) had the insight based on their mapping work that the DITA block elements are correctly understood as block containers.

    That is, the start tag and end tag declare block boundaries, but the element itself can contain multiple blocks, as in:

    ... <section>
    ....... First block.
    ....... <p>
    ........... Second block.
    ........... <lq>
    ........... Third block
    ........... </lq>
    ........... Fourth block.
    ....... </p>
    ....... Fifth block.
    ... </section>

    From a processing perspective, there's nothing ambiguous about that. The processor can find the block boundaries without issue.

    From an authoring perspective, it is attractive to be able to avoid unneeded markup (extra noise) when a list item has a single block.

    ....... <li>Single block.</li>

    but take advantage of additional markup for multiple blocks:

    ....... <li>First block.
    ........... <p>Second block</p>
    ....... </li>

    People have been doing without issue in HTML for ages.

    So, the big question is whether authors are significantly more likely to abuse the markup as follows:

    ... <section>
    ....... A sentence spanning
    ....... <p>A paragraph.</p>
    ....... before finishing.
    ... </section>

    Than as follows:

    ... <section>
    ....... <p>A sentence spanning</p>
    ....... <p>A paragraph.</p>
    ....... <p>before finishing.</p>
    ... </section>

    The markup itself can no more prevent the second case than the first.

    Neither usage would occur to me. Are there are a significant number of users who would create the first but not the second example?


    Hoping that's useful,


    Erik Hennum
    ehennum@us.ibm.com



  • 12.  Re: [dita] Proposal for Consideration: Default Behavior for ListItems

    Posted 06-15-2008 17:23
      |   view attached

    Attachment(s)

    vcf
    azydron.vcf   240 B 1 version


  • 13.  Re: [dita] Proposal for Consideration: Default Behavior for List Items

    Posted 06-16-2008 12:00

    Hi Andrzej,

    I think the idea of providing a constrained environment per 1) and 2) is fine, and we can figure out the best way to do this for 1.3, as I proposed earlier. My gut reaction is that we won't be using the constrained environment here at IBM (our translation processes may not be perfect, but they are working with the current design). But we're talking a valid package of constraints that could be applied to a core set of DITA content types, which is explicitly one of the goals of the new constraints mechanism proposed for DITA 1.2. So as long as you can find two people who will use it (and I'm sure you can), I can see a case for getting it on the slate for DITA 1.3.

    That said, I have serious concerns about your proposed 3 and 4 (eliminating conrefs and specialization).  

    Re conrefs: I can certainly see a constraint package being used to selectively reduce conrefs (eg only allowing them on certain element types). But eliminating DITA's standard reuse mechanism and replacing it with another would break interoperability between the proposed constrained type and the rest of DITA: it would no longer be constrained DITA, it would be an alternative to DITA. Note that just because I am rejecting your proposed solution (using xrefs) doesn't mean I am rejecting your reasons - I would like to understand your reasons, so I can help us arrive at a solution that is acceptable to as many people as possible.

    Re specialization: People don't have to specialize if they don't want to. But creating a content type that couldn't be specialized by those who do want to would certainly break the current definition of DITA. If you really wanted to do this, I would think it could be created as a parallel standard that borrows heavily from DITA, but I would resist calling it DITA, or endorsing it in any way through this group. Specialization is too central to the definition of the standard. It doesn't need to be exercised by every user, but it needs to always be an option.

    Michael Priestley
    Lead IBM DITA Architect
    mpriestl@ca.ibm.com
    http://dita.xml.org/blog/25



    Andrzej Zydron <azydron@xml-intl.com>

    06/15/2008 01:22 PM

    To
    Erik Hennum <ehennum@us.ibm.com>
    cc
    "Bruce Nevin (bnevin)" <bnevin@cisco.com>, dita@lists.oasis-open.org, Michael Priestley/Toronto/IBM@IBMCA
    Subject
    Re: [dita] Proposal for Consideration: Default Behavior for List Items





    Hi Eric and Michael,

    Thank you both for your replies and for bearing with me. The thing that
    bothers me with spanning is that in tha vast majority of technical
    literature it is unnecessary. Allowing it, provides users with the
    ability to unintentionally completely mess up a document structure
    making it nigh on impossible to translate properly. It assumes that text
    is translated in the same order in different languages - this is
    unfortunately not the case. All this adds to the cost of composition and
    translation. It also adds considerably to the cost of implementing
    composition engines.

    We have had recent evidence of the type of horror story that can arise
    during translation from the injudicious use of conrefs. Conrefs work
    fine in morphologically impoverished languages such as English and
    Chinese, but can deliver ungrammatical gibberish when you try and
    translate the text into any inflected language.

    I would be so bold as to propose a definitive subset of DITA, lets call
    it for arguments sake EDEN (Electronic Documentumentation Essential
    Norm) as a 'creationist' counterpoint :). EDEN would be a completely
    valid DITA form but would not allow the following constructs:

    1) Recursive elements - no recursion
    2) Block spanning elements - only inline elements allowed within block
    elements
    3) Conrefs - replaced by xrefs for linguistically complete phrases or
    sentences
    4) Specialization past the basic Topic, Concept, Task and Reference - no
    specialization

    The analogy of EDEN to DITA is the same as SGML to XML. EDEN would be a
    low complexity and low cost way of implementing DITA for organizations
    that do not require the full current armory.

    In my extensive and (over-)long experience in the authoring and
    localization of very complex documents in the automotive and light
    engineering industries there has been a marked tendency towards
    simplification - very short granular documents with lots of graphics and
    little text. The granularity of DITA lends itself to short simple
    documents with no need of the aforementioned mechanisms. Keeping things
    simple keeps down the cost and speeds up implementation and tool delivery.

    The most effective DITA implementations that I have seen to date have in
    fact followed the EDEN principle. Lets leave the whole panoply of DITA
    to those who need it, but for 95% of implementations EDEN would suffice.

    The easier and less complex that we make it, the more acceptance it will
    gain. When you strip everything away the main benefit of DITA has been
    to provide a standard set of DTDs for technical documentation.

    Best Regards,

    AZ

    Erik Hennum wrote:
    >
    > Hi, Andrzej, Bruce, and Michael:
    >
    > Not to protract the thread, but Jim Early and Scott Hudson (I think)
    > had the insight based on their mapping work that the DITA block
    > elements are correctly understood as block containers.
    >
    > That is, the start tag and end tag declare block boundaries, but the
    > element itself can contain multiple blocks, as in:
    >
    > ... <section>
    > ....... First block.
    > ....... <p>
    > ........... Second block.
    > ........... <lq>
    > ........... Third block
    > ........... </lq>
    > ........... Fourth block.
    > ....... </p>
    > ....... Fifth block.
    > ... </section>
    >
    > From a processing perspective, there's nothing ambiguous about that.
    > The processor can find the block boundaries without issue.
    >
    > From an authoring perspective, it is attractive to be able to avoid
    > unneeded markup (extra noise) when a list item has a single block.
    >
    > ....... <li>Single block.</li>
    >
    > but take advantage of additional markup for multiple blocks:
    >
    > ....... <li>First block.
    > ........... <p>Second block</p>
    > ....... </li>
    >
    > People have been doing without issue in HTML for ages.
    >
    > So, the big question is whether authors are significantly more likely
    > to abuse the markup as follows:
    >
    > ... <section>
    > ....... A sentence spanning
    > ....... <p>A paragraph.</p>
    > ....... before finishing.
    > ... </section>
    >
    > Than as follows:
    >
    > ... <section>
    > ....... <p>A sentence spanning</p>
    > ....... <p>A paragraph.</p>
    > ....... <p>before finishing.</p>
    > ... </section>
    >
    > The markup itself can no more prevent the second case than the first.
    >
    > Neither usage would occur to me. Are there are a significant number of
    > users who would create the first but not the second example?
    >
    >
    > Hoping that's useful,
    >
    >
    > Erik Hennum
    > ehennum@us.ibm.com
    >

    --
    email - azydron@xml-intl.com
    smail - c/o Mr. A.Zydron
                    PO Box 2167
           Gerrards Cross
           Bucks SL9 8XF
                    United Kingdom
    Mobile +(44) 7966 477 181
    FAX    +(44) 1753 480 465
    www - http://www.xml-intl.com

    This message contains confidential information and is intended only for
    the individual named.  If you are not the named addressee you may not
    disseminate, distribute or copy this e-mail.  Please notify the sender
    immediately by e-mail if you have received this e-mail by mistake and
    delete this e-mail from your system.
    E-mail transmission cannot be guaranteed to be secure or error-free as
    information could be intercepted, corrupted, lost, destroyed, arrive
    late or incomplete, or contain viruses.  The sender therefore does not
    accept liability for any errors or omissions in the contents of this
    message which arise as a result of e-mail transmission.  If verification
    is required please request a hard-copy version. Unless explicitly stated
    otherwise this message is provided for informational purposes only and
    should not be construed as a solicitation or offer.


    [attachment "azydron.vcf" deleted by Michael Priestley/Toronto/IBM]



  • 14.  Re: [dita] Proposal for Consideration: Default Behavior for ListItems

    Posted 06-23-2008 18:08
      |   view attached

    Attachment(s)

    vcf
    azydron.vcf   240 B 1 version


  • 15.  RE: [dita] Proposal for Consideration: Default Behavior for List Items

    Posted 06-16-2008 13:49
    
    
    
    
    
    In my own schema development work I distinguish between paragraph-level elements, which may only contain text and phrase-level or inline elements, and those more complex blocks such as lists and tables which contain paragraph-level and these "block" elements.
     
    With this distinction, what I advocate is that an element be either a paragraph-type element like <p>, admitting only phrase-level children and #PCDATA, or the more complex type like <li> which admits <p> and <table> and <ol> etc. but does not admit #PCDATA and phrase-level elements.
     
    Michael justly objected that such a change to DITA would wreak havoc with specializations and with processors/processes. I concurred that it seems to be too late to rectify this in DITA.
     
    However, it is useful to distinguish between paragraph-level and  block-type elements. It is only in the latter that this particular sort of rendering issue intrudes into what should be strictly a structural/semantic markup, and equivocation between the two clouds discussion.
     
    To be more explicit, browsers interpret
     
    .....<ol>
    .......<li>
    ...........<p>Text</p>
    .......</li>
    .......<li>
    ...........<p>Text</p>
    .......</li>
    .....</ol>

    with extra white space between the list items and
     
    .....<ol>
    .......<li>
    ...........Text
    .......</li>
    .......<li>
    ...........Text
    .......</li>
    .....<ol>
     
    without. As I understand this thread, something like this behavior was carried forward into the OT treatment of <li> in DITA.
     
    The preceding is an example of text containing a single sentence interrupted by two block-type examples.

    However, note that even in HTML <p> can contain only phrase-level elements, so that the above example must be marked up as something like
     
    <p>Browsers interpret</p>
    <blockquote>
    .....&lt;ol&gt;
    .......&lt;li&gt;
    ...........&lt;p&gt;Text&lt;/p&gt;
    .......&lt;/li&gt;
     
    .......&lt;li&gt;
    ...........&lt;p&gt;Text&lt;/p&gt;
    .......&lt;/li&gt;
    .....&lt;/ol&gt;
    </blockquote>
    <p>with extra white space between the list items and</p>
     
    etc. In other words, it is not the case in HTML that <p> is a block-type element that can be interrupted by other block-type elements. As the HTML spec says "The P element represents a paragraph. It cannot contain block-level elements (including P itself)." In XML, the semantic container is the parent of these children, such as <section> or <concept>
     
    Erik, you said:
    >From an authoring perspective, it is attractive to be able to avoid
    >unneeded markup (extra noise) when a list item has a single block.
    Authors typically depend on an authoring tool to handle the markup. In an authoring tool, it is easy to provide for automatic insertion of a default <p> and only a very slight nuisance for the author to delete or move the <p> if some other element such as <table> is to be first. Consequently I think the authoring perspective has little weight in this particular issue, in which the primary concern is the separation of format/rendering from structure/semantics. All I have attempted then, barring any real change, is to affirm the importance of distinguishing between levels of structural complexity, and not using the a category such as "block" equivocally (as e.g. the HTML spec does even while making this distinction).
     
        /BN


    From: Erik Hennum [mailto:ehennum@us.ibm.com]
    Sent: Sunday, June 15, 2008 12:23 PM
    To: Bruce Nevin (bnevin)
    Cc: Andrzej Zydron; dita@lists.oasis-open.org; Michael Priestley
    Subject: RE: [dita] Proposal for Consideration: Default Behavior for List Items

    Hi, Andrzej, Bruce, and Michael:

    Not to protract the thread, but Jim Early and Scott Hudson (I think) had the insight based on their mapping work that the DITA block elements are correctly understood as block containers.

    That is, the start tag and end tag declare block boundaries, but the element itself can contain multiple blocks, as in:

    ... <section>
    ....... First block.
    ....... <p>
    ........... Second block.
    ........... <lq>
    ........... Third block
    ........... </lq>
    ........... Fourth block.
    ....... </p>
    ....... Fifth block.
    ... </section>

    From a processing perspective, there's nothing ambiguous about that. The processor can find the block boundaries without issue.

    From an authoring perspective, it is attractive to be able to avoid unneeded markup (extra noise) when a list item has a single block.

    ....... <li>Single block.</li>

    but take advantage of additional markup for multiple blocks:

    ....... <li>First block.
    ........... <p>Second block</p>
    ....... </li>

    People have been doing without issue in HTML for ages.

    So, the big question is whether authors are significantly more likely to abuse the markup as follows:

    ... <section>
    ....... A sentence spanning
    ....... <p>A paragraph.</p>
    ....... before finishing.
    ... </section>

    Than as follows:

    ... <section>
    ....... <p>A sentence spanning</p>
    ....... <p>A paragraph.</p>
    ....... <p>before finishing.</p>
    ... </section>

    The markup itself can no more prevent the second case than the first.

    Neither usage would occur to me. Are there are a significant number of users who would create the first but not the second example?


    Hoping that's useful,


    Erik Hennum
    ehennum@us.ibm.com



  • 16.  Re: [dita] Proposal for Consideration: Default Behavior for ListItems

    Posted 06-17-2008 14:54
    I'd like to point out a few things that make any arguments around the markup
    design essentially moot:
    
    1. The base DITA content models are *NOT* authoring models and cannot be.
    They are the models needed to enable an appropriate range of specializations
    and/or local markup practices. That means that, for example, list items
    *must* allow both PCDATA content and block elements. As has been pointed
    out, that doesn't mean that all users of DITA have to allow them, but the
    standard as published has to allow it.
    
    NOTE: There are many places in the current DITA design where it is over
    constrained. Some of these have been addressed in 1.2, some cannot be
    corrected until 2.0.
    
    2. DITA is not just for technical documentation, so arguments along the
    lines of "this is not good technical documentation practice" or "technical
    documents don't need it" are out of order and should be avoided in any
    discussion of base DITA content models. In the context of a techdoc-specific
    specializations, they are perfectly fine. But base DITA (e.g., topic and the
    core modules) are not technical documentation specific.
    
    3. Backward compatibility requirements in 1.x mean that even if we thought
    the content model should be more constrained, it can't be.
    
    Jeff O. correctly expressed my original concern, namely, should the spec be
    clear on what the *default* presentation expectation is for list items with
    and without initial block containers. We still need to answer that question.
    I submitted proposed language and am waiting for the opportunity to move
    that we vote on it.
    
    Cheers,
    
    E.
    
    
    ----
    Eliot Kimber | Senior Solutions Architect | Really Strategies, Inc.
    email:  ekimber@reallysi.com 


  • 17.  RE: [dita] Proposal for Consideration: Default Behavior for List Items

    Posted 06-17-2008 15:27
    I have withdrawn my objection as being impractical to apply to DITA, on
    the backward-compatibility grounds that Michael raised. To these you,
    Eliot, have added (1) architectural grounds and (2) application scope
    grounds. 
    
    Andrzej identified inadvertent consequences for translation that call
    for careful reconsideration. IMO this requires a much deeper semantic
    analysis for restricted domains, as in http://mlp-xml.sourceforge.net/.
    
    The following two comments are a bit off topic. If the second one merits
    further discussion it might belong in a different thread.
    
    I would cavil about Elliot's point (2) that there are concerns of
    content developers that are pretty universal, which should be
    distinguished from those specific to technical documentation. The point
    is academic in the current context, given the above, but may apply
    elsewhere. Anyway, I would guess that a great many of such concerns
    raised from the tech docs world fail adequately to distinguish
    structure/semantics from rendering/presentation.
    
    Point (1) below underscores a confusion that may be prevalent in the
    user base. It seems to me that it is common for vendors and consultants
    to promote the use of vanilla DITA and to counsel their customers to
    minimize specialization. Yes, users should proceed cautiously and
    circumspectly with specialization, but if they think that it is a DITA
    best practice to use only the base content models they are badly
    misunderstanding that guidance. Certainly, minimizing specialization
    simplifies implementation, customization, and support; possibly some
    vendors or consultants do not adequately communicate the point; possibly
    some do not fully embrace it. 
    
    	/BN
    
    > 


  • 18.  RE: [dita] Proposal for Consideration: Default Behavior for List Items

    Posted 06-10-2008 19:16
    
    
    
    
    
    
    
    
    
    
    

    This seems to be a topic that many people feel strongly about. Some people take the side that Bruce is advocating in his message (the more restrictive docbook approach?) and others take the other approach (the less constrained html approach?). Both sides have justifications for their preferred approach.  The arguments go round and round.

     

    DITA 1.0, 1.1, and 1.2 all allow either approach.  This allows DITA to support both sides and to serve as a base for adding further constraints via specialization, via the new DITA 1.2 constraints mechanism, or through the adoption of authoring guidelines that may or may not be enforced.

     

    I don’t think that we can make any changes here without making existing valid DITA documents invalid.  And I don’t think we should do that.  If we had agreement that it was something that we wanted to change (something we don’t have and which I think we are unlikely to get in the future), the soonest I think we could consider changes is DITA 2.0.  I’ve no idea when we might expect to see a DITA 2.0.

     

    For DITA 1.2 we plan to clarify the wording in the DITA Architecture Specification and in the DITA Language Specification to make it clear that the different styles of list markup do not necessarily imply or require different output formatting, but that different output formatting is allowed. Also, that we encourage, but do not require that the formatting of lists for different outputs be consistent no matter which list markup style is used.  These are the two points that Eliot wanted clarified, but because people feel strongly about this stuff the discussion quickly expanded to the broader and more philosophic discussion.

     

    Or at least that is where I think we left things the last time we discussed this.

     

        -Jeff

     


    From: Bruce Nevin (bnevin) [mailto:bnevin@cisco.com]
    Sent: Tuesday, June 10, 2008 12:22 PM
    To: dita@lists.oasis-open.org
    Cc: Bruce Nevin (bnevin)
    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