Details
-
Bug
-
Status: Resolved
-
Resolution: Won't Fix
-
1.1
-
None
-
None
-
Operating System: All
Platform: PC
-
54098
Description
When publishing DITA or Docbook to PDF (on a Windows machine) there are created FO files containing references to images. Some of the references are respecting the URI syntax, others are using the backslash: "\". This is not under the control of the end users. The XSLT stylesheets from these documentation frameworks are generating these invalid URIs.
FOP 1.0 translated the back-slashses to forward slashes before attempting to parse the URIs.
FOP 1.1 kept this translation in: org.apache.fop.apps.FOURIResolver but not in:
org.apache.fop.fo.properties.URIProperty
I propose adding the following code in:
org.apache.fop.fo.properties.URIProperty.Maker.make(PropertyList, String, FObj)
....
value = value.replace('
', '/');
....
This will make FOP more compatible with the Docbook and DITA output.