You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by "Olof Wolgast (JIRA)" <ji...@apache.org> on 2015/12/11 15:20:10 UTC

[jira] [Created] (FOP-2550) Paths in svg images to urls gets duplicated

Olof Wolgast created FOP-2550:
---------------------------------

             Summary: Paths in svg images to urls gets duplicated
                 Key: FOP-2550
                 URL: https://issues.apache.org/jira/browse/FOP-2550
             Project: FOP
          Issue Type: Bug
    Affects Versions: 2.0
         Environment: Windows 7
            Reporter: Olof Wolgast
             Fix For: 1.1


Consider the following

<fo:block id="idm1597969168">
<fo:external-graphic src="url(SwComponents/ShDet/gd_GearDet/SL/gd_GearDet_gd_GearDet_Schedule_Predicted_Gear_If_Action_Subsystem1.svg)" width="auto" height="auto" content-width="auto" content-height="auto" />
</fo:block>

It results in an error 

org.apache.batik.bridge.BridgeException: SwComponents\ShDet\gd_GearDet\SL\SwComp
onents\ShDet\gd_GearDet\SL\gd_GearDet_gd_GearDet_Schedule_Predicted_Gear_If_Acti
on_Subsystem1.svg (The system cannot find the path specified)

The directory part of the path is repeated!

If I replace the svg with a png it works fine. Both svg and png works in FOP-1.1



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)