Bug 15165 - SVG Renderer does not stop properly if fo includes <fo:external-graphic>
Summary: SVG Renderer does not stop properly if fo includes <fo:external-graphic>
Status: CLOSED FIXED
Alias: None
Product: Fop - Now in Jira
Classification: Unclassified
Component: images (show other bugs)
Version: 0.20.4
Hardware: PC Linux
: P3 normal
Target Milestone: ---
Assignee: fop-dev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-12-08 08:38 UTC by yvonne moebius
Modified: 2012-04-01 06:36 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description yvonne moebius 2002-12-08 08:38:42 UTC
The svg renderer doesn't stop properly if there are <fo:external-graphic ...>
elements in the fo document. 
But FOP creates an svg document which is ok, but there is no information about
the image in it.
Rendering the same fo document to PDF works fine.

Here is a sample xsl:fo code:

.......
  <fo:page-sequence master-reference="simple">

    <fo:flow flow-name="xsl-region-body">


   <fo:external-graphic src="bild3.gif"/>
<fo:block>
        The Extensible Markup Language (XML) is a subset of SGML that is
completely described in this document. Its goal is to
        enable generic SGML to be served, received, and processed on the Web in
the way that is now possible with HTML. XML
        has been designed for ease of implementation and for interoperability
with both SGML and HTML.
      </fo:block>
..........


And that the svg document FOP produces:

<?xml version="1.0" encoding="ISO-8859-1"?>
<svg contentScriptType="text/ecmascript" width="595.0" zoomAndPan="magnify"
     contentStyleType="text/css" height="842.0"
     preserveAspectRatio="xMidYMid meet" xmlns="http://www.w3.org/2000/svg"
     version="1.0">
    <g id="Page-1" style="font-family:sanserif;font-size:12"
       transform="translate(0,0.0)">
        <rect width="595.0" x="0.0" height="842.0" y="0.0"
              style="fill:none;stroke:black"/>
        <text x="70.866" y="171.69598">
            The
        </text>
        <text x="99.466" y="171.69598">
            Extensible
        </text>
............
Comment 1 Pascal Sancho 2007-10-23 07:48:02 UTC
Bug fixed in latest Trunk (rev 584703), and probably in FOP 0.94 and earlier
0.9x versions
Comment 2 Glenn Adams 2012-04-01 06:36:10 UTC
batch transition pre-FOP1.0 resolved+fixed bugs to closed+fixed