DocBook XSLT 2.0 Stylesheet output: itemizedlist.003.xml

Expected (16 differences)Actual (16 differences)
<html>
   <head>
      <link href="../../resources/css/db-prism.css" rel="stylesheet" type="text/css"/>
      <link href="../../resources/css/default.css" rel="stylesheet" type="text/css"/>
      <link href="../../resources/css/prism.css" rel="stylesheet" type="text/css"/>
      <meta charset="utf-8"/>
      <meta content="DocBook XSL 2.0 Stylesheets Vxxx" name="generator"/>
      <script src="../../resources/js/dbmodnizr.js" type="text/javascript"/>
      <title>Article wrapper</title>
   </head>
   <body>
      <article class="article" id="R.1">
         <header class="article-titlepage">
            <h2>Article wrapper</h2>
         </header>
         <p>This is a para.</p>
         <p>This is another para. See the space of separate between
paragraphs. The following lists should have additional space
before/after them, since they are not within paragraphs and thus
should use paragraph spacing.</p>
         <div class="itemizedlist">
            <ul>
               <li>
                  <p>some text (not compact)</p>
               </li>
               <li>
                  <p>some text (not compact)</p>
               </li>
               <li>
                  <p>some text (not compact)</p>
               </li>
               <li>
                  <p>some text (not compact)</p>
               </li>
               <li>
                  <p>some text (not compact)</p>
               </li>
               <li>
                  <p>some text (not compact)</p>
               </li>
               <li>
                  <p>some text (not compact)</p>
               </li>
            </ul>
         </div>
         <div class="orderedlist">
            <ol style="list-style: decimal;">
               <li>
                  <p>some text (not compact)</p>
               </li>
               <li>
                  <p>some text (not compact)</p>
               </li>
               <li>
                  <p>some text (not compact)</p>
               </li>
               <li>
                  <p>some text (not compact)</p>
               </li>
               <li>
                  <p>some text (not compact)</p>
               </li>
               <li>
                  <p>some text (not compact)</p>
               </li>
               <li>
                  <p>some text (not compact)</p>
               </li>
            </ol>
         </div>
         <div class="itemizedlist">
            <ul>
               <li>some text (compact)</li>
               <li>some text (compact)</li>
               <li>some text (compact)</li>
               <li>some text (compact)</li>
               <li>some text (compact)</li>
               <li>some text (compact)</li>
               <li>some text (compact)</li>
            </ul>
         </div>
         <div class="orderedlist">
            <ol style="list-style: decimal;">
               <li>some text (compact)</li>
               <li>some text (compact)</li>
               <li>some text (compact)</li>
               <li>some text (compact)</li>
               <li>some text (compact)</li>
               <li>some text (compact)</li>
               <li>some text (compact)</li>
            </ol>
         </div>
         <p>Here is a para.</p>
         <p>The following two itemizedlists are within a block element and
so should use paragraph spacing between them.

<div class="itemizedlist">
               <ul>
                  <li>some text (compact)</li>
                  <li>some text (compact)</li>
               </ul>
            </div>
            <div class="itemizedlist">
               <ul>
                  <li>some text (compact)</li>
                  <li>some text (compact)</li>
               </ul>
            </div>
         </p>
      </article>
      <script src="../../resources/js/prism.js"/>
   </body>
</html>
<html>
   <head>
      <link href="../../resources/css/db-prism.css" rel="stylesheet" type="text/css"/>
      <link href="../../resources/css/default.css" rel="stylesheet" type="text/css"/>
      <link href="../../resources/css/prism.css" rel="stylesheet" type="text/css"/>
      <meta charset="utf-8"/>
      <meta content="DocBook XSL 2.0 Stylesheets Vxxx" name="generator"/>
      <script src="../../resources/js/dbmodnizr.js" type="text/javascript"/>
      <title>Article wrapper</title>
   </head>
   <body>
      <article class="article" id="R.1">
         <header class="article-titlepage">
            <h2>Article wrapper</h2>
         </header>
         <div class="content">
            <p>This is a para.</p>
            <p>This is another para. See the space of separate between
paragraphs. The following lists should have additional space
before/after them, since they are not within paragraphs and thus
should use paragraph spacing.</p>
            <div class="itemizedlist">
               <ul>
                  <li>
                     <p>some text (not compact)</p>
                  </li>
                  <li>
                     <p>some text (not compact)</p>
                  </li>
                  <li>
                     <p>some text (not compact)</p>
                  </li>
                  <li>
                     <p>some text (not compact)</p>
                  </li>
                  <li>
                     <p>some text (not compact)</p>
                  </li>
                  <li>
                     <p>some text (not compact)</p>
                  </li>
                  <li>
                     <p>some text (not compact)</p>
                  </li>
               </ul>
            </div>
            <div class="orderedlist">
               <ol style="list-style: decimal;">
                  <li>
                     <p>some text (not compact)</p>
                  </li>
                  <li>
                     <p>some text (not compact)</p>
                  </li>
                  <li>
                     <p>some text (not compact)</p>
                  </li>
                  <li>
                     <p>some text (not compact)</p>
                  </li>
                  <li>
                     <p>some text (not compact)</p>
                  </li>
                  <li>
                     <p>some text (not compact)</p>
                  </li>
                  <li>
                     <p>some text (not compact)</p>
                  </li>
               </ol>
            </div>
            <div class="itemizedlist">
               <ul>
                  <li>some text (compact)</li>
                  <li>some text (compact)</li>
                  <li>some text (compact)</li>
                  <li>some text (compact)</li>
                  <li>some text (compact)</li>
                  <li>some text (compact)</li>
                  <li>some text (compact)</li>
               </ul>
            </div>
            <div class="orderedlist">
               <ol style="list-style: decimal;">
                  <li>some text (compact)</li>
                  <li>some text (compact)</li>
                  <li>some text (compact)</li>
                  <li>some text (compact)</li>
                  <li>some text (compact)</li>
                  <li>some text (compact)</li>
                  <li>some text (compact)</li>
               </ol>
            </div>
            <p>Here is a para.</p>
            <p>The following two itemizedlists are within a block element and
so should use paragraph spacing between them.

<div class="itemizedlist">
                  <ul>
                     <li>some text (compact)</li>
                     <li>some text (compact)</li>
                  </ul>
               </div>
               <div class="itemizedlist">
                  <ul>
                     <li>some text (compact)</li>
                     <li>some text (compact)</li>
                  </ul>
               </div>
            </p>
         </div>
      </article>
      <script src="../../resources/js/prism.js"/>
   </body>
</html>
The “current” CSS styling is applied to the this entire document; the results in this column may be anomalous. Also, image links are broken in this column. 

Article wrapper

This is a para.

This is another para. See the space of separate between paragraphs. The following lists should have additional space before/after them, since they are not within paragraphs and thus should use paragraph spacing.

  • some text (not compact)

  • some text (not compact)

  • some text (not compact)

  • some text (not compact)

  • some text (not compact)

  • some text (not compact)

  • some text (not compact)

  1. some text (not compact)

  2. some text (not compact)

  3. some text (not compact)

  4. some text (not compact)

  5. some text (not compact)

  6. some text (not compact)

  7. some text (not compact)

  • some text (compact)
  • some text (compact)
  • some text (compact)
  • some text (compact)
  • some text (compact)
  • some text (compact)
  • some text (compact)
  1. some text (compact)
  2. some text (compact)
  3. some text (compact)
  4. some text (compact)
  5. some text (compact)
  6. some text (compact)
  7. some text (compact)

Here is a para.

The following two itemizedlists are within a block element and so should use paragraph spacing between them.

  • some text (compact)
  • some text (compact)
  • some text (compact)
  • some text (compact)

Article wrapper

This is a para.

This is another para. See the space of separate between paragraphs. The following lists should have additional space before/after them, since they are not within paragraphs and thus should use paragraph spacing.

  • some text (not compact)

  • some text (not compact)

  • some text (not compact)

  • some text (not compact)

  • some text (not compact)

  • some text (not compact)

  • some text (not compact)

  1. some text (not compact)

  2. some text (not compact)

  3. some text (not compact)

  4. some text (not compact)

  5. some text (not compact)

  6. some text (not compact)

  7. some text (not compact)

  • some text (compact)
  • some text (compact)
  • some text (compact)
  • some text (compact)
  • some text (compact)
  • some text (compact)
  • some text (compact)
  1. some text (compact)
  2. some text (compact)
  3. some text (compact)
  4. some text (compact)
  5. some text (compact)
  6. some text (compact)
  7. some text (compact)

Here is a para.

The following two itemizedlists are within a block element and so should use paragraph spacing between them.

  • some text (compact)
  • some text (compact)
  • some text (compact)
  • some text (compact)

XML source