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 2003/05/12 19:25:52 UTC

[issues] New comment: (FOR-35) sdocbook content does not display images

The following comment has been added to this issue:

     Author: Juan Jose Pablos
    Created: Mon, 12 May 2003 7:25 PM
       Body:
I made a mistake on the bug, this is the proper fix:
Index: docbook2document.xsl
===================================================================
RCS file: /home/cvspublic/xml-forrest/src/resources/stylesheets/docbook2document.xsl,v
retrieving revision 1.6
diff -r1.6 docbook2document.xsl
452c452
<       <xsl:template match="graphic|imageobject">
---
>       <xsl:template match="graphic|imagedata">
---------------------------------------------------------------------
View the issue:

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


Here is an overview of the issue:
---------------------------------------------------------------------
        Key: FOR-35
    Summary: sdocbook content does not display images
       Type: Bug

     Status: Resolved
   Priority: Major
 Resolution: FIXED

    Project: Forrest
  Component: Core operations
    Fix For: 0.5
   Versions:
             HEAD

   Assignee: 
   Reporter: Juan Jose Pablos

    Created: Fri, 9 May 2003 3:14 PM
    Updated: Mon, 12 May 2003 12:52 AM
Environment: java.vm.version=1.4.1_01-b01
os.arch=i386
os.name=Linux


Description:
Unable to see an image with this file:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//OASIS//DTD Simplified DocBook XML V1.0//EN"
"http://www.oasis-open.org/docbook/xml/simple/1.0/sdocbook.dtd">
<article>
  <title>Test</title>

  <section>
    <title>just an image</title>

    <figure>
      <title>image</title>

      <mediaobject>
        <imageobject>
          <imagedata fileref="images/MontajeComunIcecast.png" />
        </imageobject>
      </mediaobject>
    </figure>
  </section>
</article>

I modifie this line to fix it.

on resources/stylesheets/docbook2document.xsl

 <xsl:template match="graphic|imageobject">




---------------------------------------------------------------------
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