DocBook XSLT 2.0 Stylesheet output: link.003.xml

Expected (3 differences)Actual (1 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>
         <div class="lists-of-titles">
            <div class="toc">
               <p>
                  <b>Table of Contents</b>
               </p>
               <ul class="toc">
                  <li>
                     <span>
                        <a href="#section">1. Section Title</a>
                     </span>
                  </li>
                  <li>
                     <span>
                        <a href="#section2">2. Long Section Title</a>
                     </span>
                  </li>
               </ul>
            </div>
         </div>
         <section class="section" id="section">
            <div class="section-titlepage">
               <h2>1. Section Title</h2>
            </div>
            <p>A <a href="#section">self-referential link</a>.</p>
            <p>A link without content: <a href="#section2" title="A Very Long Section Title That I Don't Want To Use For My XRef">Section 2, “Long Section Title”</a>.</p>
            <p>A link without content, but with an xreflabel:
<a href="#section2" title="A Very Long Section Title That I Don't Want To Use For My XRef">Section 2, “Long Section Title”</a>.</p>
            <p>A link with content and an xreflabel:
<a href="#section2">here</a>.</p>
         </section>
         <section class="section" id="section2">
            <div class="section-titlepage">
               <h2>2. A Very Long Section Title That I Don't Want To Use For My XRef</h2>
            </div>
            <p>Some text with a <a href="#section">link back</a> to the
first section.</p>
         </section>
      </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="lists-of-titles">
            <div class="toc">
               <p>
                  <b>Table of Contents</b>
               </p>
               <ul class="toc">
                  <li>
                     <span>
                        <a href="#section">1. Section Title</a>
                     </span>
                  </li>
                  <li>
                     <span>
                        <a href="#section2">2. Long Section Title</a>
                     </span>
                  </li>
               </ul>
            </div>
         </div>
         <div class="content">
            <section class="section" id="section">
               <div class="section-titlepage">
                  <h2>1. Section Title</h2>
               </div>
               <div class="content">
                  <p>A <a href="#section">self-referential link</a>.</p>
                  <p>A link without content: <a href="#section2" title="A Very Long Section Title That I Don't Want To Use For My XRef">Section 2, “Long Section Title”</a>.</p>
                  <p>A link without content, but with an xreflabel:
<a href="#section2" title="A Very Long Section Title That I Don't Want To Use For My XRef">Section 2, “Long Section Title”</a>.</p>
                  <p>A link with content and an xreflabel:
<a href="#section2">here</a>.</p>
               </div>
            </section>
            <section class="section" id="section2">
               <div class="section-titlepage">
                  <h2>2. A Very Long Section Title That I Don't Want To Use For My XRef</h2>
               </div>
               <div class="content">
                  <p>Some text with a <a href="#section">link back</a> to the
first section.</p>
               </div>
            </section>
         </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. 

XML source