From: SourceForge.net <no...@so...> - 2011-12-23 20:34:25
|
Bugs item #3464633, was opened at 2011-12-23 12:34 Message generated for change (Tracker Item Submitted) made by tom_schr You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=373747&aid=3464633&group_id=21935 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: XSL2 Group: output: HTML Status: Open Resolution: None Priority: 5 Private: No Submitted By: Thomas Schraitle (tom_schr) Assigned to: Nobody/Anonymous (nobody) Summary: Parameter img.src.path has no effect Initial Comment: Hi, the parameter img.src.path to create a prefix in the img/@src attribute is not considered at all. The stylesheet returns always absolute URLs. After some investigation, I found in graphics.xsl the template which matches for @fileref. This is the problematic line: <xsl:variable name="absuri" select="resolve-uri(.,base-uri(.))"/> Unfortunately, this leads to a <img> elements which looks like this: <img src="/home/tux/prj/en/xml/png/foo.png" width="88" alt="Some short description" /> The absolute URL in the src attribute prevents the HTML from moving it from local to a remote source. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=373747&aid=3464633&group_id=21935 |