]> granicus.if.org Git - docbook-dsssl/commitdiff
Fixed bug #1640428: added 'url(...)' around the image path.
authorMauritz Jeanson <mj@johanneberg.com>
Sat, 24 Feb 2007 10:18:28 +0000 (10:18 +0000)
committerMauritz Jeanson <mj@johanneberg.com>
Sat, 24 Feb 2007 10:18:28 +0000 (10:18 +0000)
xsl/extensions/saxon65/src/com/nwalsh/saxon/FormatGraphicCallout.java

index 3cb3926510c642e09bbb585e5d3603b74683e78a..c2f16d95a68a076cbb544ed411ef1d36c28f5bf5 100644 (file)
@@ -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);