You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by is...@cocoondev.org on 2004/02/13 16:51:08 UTC

[issues] Updated: (FOR-115) docbook2document.xsl: missing table element for images

The following issue has been updated:

    Updater: Rob Exley (mailto:rob.exley@equifax.com)
       Date: Fri, 13 Feb 2004 5:09 PM
    Comment:
patch to fix missing table element in html for images
    Changes:
[Attachment] [FOR-115.patch] was added

---------------------------------------------------------------------
For a full history of the issue, see:

  http://issues.cocoondev.org/jira//secure/ViewIssue.jspa?key=FOR-115&page=history

---------------------------------------------------------------------
View the issue:

  http://issues.cocoondev.org/jira//secure/ViewIssue.jspa?key=FOR-115


Here is an overview of the issue:
---------------------------------------------------------------------
        Key: FOR-115
    Summary: docbook2document.xsl: missing table element for images
       Type: Bug

     Status: Unassigned
   Priority: Major

    Project: Forrest
  Component: Forrest skins

   Assignee: 
   Reporter: Rob Exley

    Created: Fri, 13 Feb 2004 5:07 PM
    Updated: Fri, 13 Feb 2004 5:09 PM

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



---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.cocoondev.org/jira//Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira