Tracker: Bugs

3 image location problem. Long term - ID: 3445867
Last Update: Settings changed ( mzjn )

Scenario.
I keep my graphics in X/graphics
I set
<xsl:param name="img.src.path" select="'/styles/rpi/graphics/'"/>

I build (docbook v5)

During the build I get errors
Failed to load image: ARM1176JZF-Sblockdiag.png

Part of the (ant based) build is to copy all images to /styles/rpi/graphics
so.... they aren't really missing...

When checking for 'missing' graphics,
should the docbook stylesheets prefix the graphics path in the xml source
with $img.src.path ?



http://www.cygwin.com/ml/docbook-apps/2005-q1/msg00320.html original.

Bobs comment "Yes, as the message says, it is a bug introduced in version 1.67 of the java extensions. The extension code is triggered when stylesheet parameters $use.extensions=1 and $graphicsize.extension=1.

It appears that a bug report was not filed (I cannot find such a report). Would you mind submitting a bug report so this can get tracked and fixed by a Java programmer familiar with that code? "

Jirka notes the interaction with
http://docbook.sourceforge.net/release/xsl/1.76.1/doc/html/graphicsize.use.img.src.path.html


Dave Pawson ( dpawson ) - 2011-11-29 23:13:58 PST

3

Closed

Wont Fix

Mauritz Jeanson

XSL

None

Public


Comments ( 3 )

Date: 2012-03-05 11:33:53 PST
Sender: mzjnProject Admin

I won't do more here. I hope that's OK!


Date: 2011-12-10 09:13:41 PST
Sender: mzjnProject Admin

The input to the Java extension is just an image path. The extension does
not know anything about the XML source document from which the path
originates.

My own small tests indicate that a relative image path works fine if it is
relative to the current directory (the location in the file system from
where the "java" command is executed).



Date: 2011-12-01 11:22:45 PST
Sender: mzjnProject Admin

Dave, can you prepare a small but complete test case and upload it? I need
something that clearly demonstrates the problem. A zip archive with XML
source, images, Ant script etc. would be great.



Attached File

No Files Currently Attached

Changes ( 6 )

Field Old Value Date By
status_id Pending 2012-04-10 12:54:08 PDT mzjn
close_date 2012-03-05 11:33 2012-04-10 12:54:08 PDT mzjn
status_id Open 2012-03-05 11:33:53 PST mzjn
resolution_id None 2012-03-05 11:33:53 PST mzjn
close_date - 2012-03-05 11:33:53 PST mzjn
assigned_to nobody 2011-12-01 11:22:45 PST mzjn