Forrest
  1. Forrest
  2. FOR-115

[PATCH] docbook2document.xsl: missing table element for images

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.6
    • Component/s: Skins (general issues)
    • Labels:
      None

      Description

      The html generated from a docbook source file containing a mediaobject element with an associated image has a missing container table element. The result of which is that the html is incorrect and causes the display to be messed up.

      Given the following in a document

      <mediaobject>
        <imageobject>
          <imagedata fileref="images/imageA.png" format="PNG"/>
        </imageobject>
      </mediaobject>

      the following is the resultant section of html

      <tr>
      <td><img alt="" src="images/imageA.png"></td>
      </tr>

      This requires a wrapper <table> element for it to be valid html. The affected files are

      src/core/context/resources/stylesheets/docbook2document.xsl

        Activity

          People

          • Assignee:
            Dave Brondsema
            Reporter:
            Rob Exley
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development