Ok, thanks for the explanation, I'll let the docbook team know. Maxime Bégnis
Hussein Shafie a écrit : > Maxime Bégnis wrote: > >> When using the docbook xsl parameter <xsl:param >> name="keep.relative.image.uris" select="0"></xsl:param> with the fo >> stylesheet, XFC does not find the images but FOP 0.95 does. >> >> I get this log : >> warning: failed to load image "file://path/to/some/file.png": >> > > FOP 0.95 is more forgiving than XFC regarding the parsing of URLs. > > "file://path/to/some/file.png" means: file "/to/some/file.png" found on > the "path" server. (The equivalent UNC path on Windows would be > "\\path\to\some\file.png".) > > You need to specify: > > file:///path/to/some/file.png > > OR > > file:/path/to/some/file.png > > > > >> /to/some/file.png (No such file or directory) (file:///the/fo/file.fo, >> line #7590, column #297) >> >> Note that it works fine with URIs like http://server.com/... >> >> >> Is this a bug? >> > > It is not a bug in XFC. It's a bug in the XSL style sheets, which seem > to generate incorrect "file:" URLs when option > "keep.relative.image.uris" is turned off. > > > > > > > > > > > -- > XMLmind FO Converter Support List > [email protected] > http://www.xmlmind.com/mailman/listinfo/xfc-support > > -- XMLmind FO Converter Support List [email protected] http://www.xmlmind.com/mailman/listinfo/xfc-support

