From 45c83c499d19c715a2b7419501dcf95cbbbf3a70 Mon Sep 17 00:00:00 2001 From: Mauritz Jeanson Date: Sat, 24 Feb 2007 10:18:28 +0000 Subject: [PATCH] Fixed bug #1640428: added 'url(...)' around the image path. --- .../saxon65/src/com/nwalsh/saxon/FormatGraphicCallout.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/xsl/extensions/saxon65/src/com/nwalsh/saxon/FormatGraphicCallout.java b/xsl/extensions/saxon65/src/com/nwalsh/saxon/FormatGraphicCallout.java index 3cb392651..c2f16d95a 100644 --- a/xsl/extensions/saxon65/src/com/nwalsh/saxon/FormatGraphicCallout.java +++ b/xsl/extensions/saxon65/src/com/nwalsh/saxon/FormatGraphicCallout.java @@ -64,8 +64,9 @@ public class FormatGraphicCallout extends FormatCallout { if (foStylesheet) { imgName = namePool.allocate("fo", foURI, "external-graphic"); imgAttr = new AttributeCollection(namePool); - imgAttr.addAttribute("", "", "src", "CDATA", - graphicsPath + num + graphicsExt); + imgAttr.addAttribute("", "", "src", "CDATA", "url(" + + graphicsPath + num + graphicsExt + ")"); + } else { imgName = namePool.allocate("", "", "img"); imgAttr = new AttributeCollection(namePool); -- 2.40.0