DocBook XSLT 2.0 Stylesheet output: itemizedlist.001.xml

Expected (5 differences)Actual (3 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>Testing page breaking, variablelist nested in itemizedlist</p>
         <div class="itemizedlist">
            <div class="title">YE OLDE ITEMIZEDLIST</div>
            <ul>
               <li>
                  <p>Item 1</p>
               </li>
               <li>
                  <p>Item 2</p>
               </li>
               <li>
                  <p>Item 3</p>
                  <div class="variablelist">
                     <dl>
                        <dt>
                           <span class="term">A</span>
                        </dt>
                        <dd>
                           <p>xxxxx</p>
                        </dd>
                        <dt>
                           <span class="term">B</span>
                        </dt>
                        <dd>
                           <p>xxxxx</p>
                        </dd>
                     </dl>
                  </div>
               </li>
               <li>
                  <p>Item 4</p>
               </li>
               <li>
                  <p>Item 5</p>
               </li>
               <li>
                  <p>Item 6</p>
               </li>
               <li>
                  <p>Item 7</p>
               </li>
               <li>
                  <p>another (trying to cause a page break)</p>
               </li>
               <li>
                  <p>another</p>
               </li>
               <li>
                  <p>another</p>
               </li>
               <li>
                  <p>another</p>
               </li>
               <li>
                  <p>another</p>
               </li>
               <li>
                  <p>another</p>
               </li>
               <li>
                  <p>another</p>
               </li>
               <li>
                  <p>another</p>
               </li>
               <li>
                  <p>another</p>
               </li>
               <li>
                  <p>another</p>
               </li>
               <li>
                  <p>another</p>
               </li>
               <li>
                  <p>another</p>
               </li>
               <li>
                  <p>another</p>
               </li>
               <li>
                  <p>another</p>
               </li>
               <li id="problem">
                  <div class="variablelist">
                     <dl>
                        <dt>
                           <span class="term">C</span>
                        </dt>
                        <dd>
                           <p>xxxxx</p>
                        </dd>
                        <dt>
                           <span class="term">D</span>
                        </dt>
                        <dd>
                           <p>xxxxx</p>
                        </dd>
                     </dl>
                  </div>
               </li>
            </ul>
         </div>
      </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>Testing page breaking, variablelist nested in itemizedlist</p>
            <div class="itemizedlist">
               <div class="title">YE OLDE ITEMIZEDLIST</div>
               <ul>
                  <li>
                     <p>Item 1</p>
                  </li>
                  <li>
                     <p>Item 2</p>
                  </li>
                  <li>
                     <p>Item 3</p>
                     <div class="variablelist">
                        <dl>
                           <dt>
                              <span class="term">A</span>
                           </dt>
                           <dd>
                              <p>xxxxx</p>
                           </dd>
                           <dt>
                              <span class="term">B</span>
                           </dt>
                           <dd>
                              <p>xxxxx</p>
                           </dd>
                        </dl>
                     </div>
                  </li>
                  <li>
                     <p>Item 4</p>
                  </li>
                  <li>
                     <p>Item 5</p>
                  </li>
                  <li>
                     <p>Item 6</p>
                  </li>
                  <li>
                     <p>Item 7</p>
                  </li>
                  <li>
                     <p>another (trying to cause a page break)</p>
                  </li>
                  <li>
                     <p>another</p>
                  </li>
                  <li>
                     <p>another</p>
                  </li>
                  <li>
                     <p>another</p>
                  </li>
                  <li>
                     <p>another</p>
                  </li>
                  <li>
                     <p>another</p>
                  </li>
                  <li>
                     <p>another</p>
                  </li>
                  <li>
                     <p>another</p>
                  </li>
                  <li>
                     <p>another</p>
                  </li>
                  <li>
                     <p>another</p>
                  </li>
                  <li>
                     <p>another</p>
                  </li>
                  <li>
                     <p>another</p>
                  </li>
                  <li>
                     <p>another</p>
                  </li>
                  <li>
                     <p>another</p>
                  </li>
                  <li id="problem">
                     <div class="variablelist">
                        <dl>
                           <dt>
                              <span class="term">C</span>
                           </dt>
                           <dd>
                              <p>xxxxx</p>
                           </dd>
                           <dt>
                              <span class="term">D</span>
                           </dt>
                           <dd>
                              <p>xxxxx</p>
                           </dd>
                        </dl>
                     </div>
                  </li>
               </ul>
            </div>
         </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

Testing page breaking, variablelist nested in itemizedlist

YE OLDE ITEMIZEDLIST
  • Item 1

  • Item 2

  • Item 3

    A

    xxxxx

    B

    xxxxx

  • Item 4

  • Item 5

  • Item 6

  • Item 7

  • another (trying to cause a page break)

  • another

  • another

  • another

  • another

  • another

  • another

  • another

  • another

  • another

  • another

  • another

  • another

  • another

  • C

    xxxxx

    D

    xxxxx

Article wrapper

Testing page breaking, variablelist nested in itemizedlist

YE OLDE ITEMIZEDLIST
  • Item 1

  • Item 2

  • Item 3

    A

    xxxxx

    B

    xxxxx

  • Item 4

  • Item 5

  • Item 6

  • Item 7

  • another (trying to cause a page break)

  • another

  • another

  • another

  • another

  • another

  • another

  • another

  • another

  • another

  • another

  • another

  • another

  • another

  • C

    xxxxx

    D

    xxxxx

XML source