https://issues.apache.org/bugzilla/show_bug.cgi?id=54098
Priority: P2
Bug ID: 54098
Assignee: [email protected]
Summary: FOP is too strict: URIs containting backslashes are
not resolved in FOP 1.1
Severity: normal
Classification: Unclassified
Reporter: [email protected]
Hardware: PC
Status: NEW
Version: 1.1
Component: general
Product: Fop
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.
--
You are receiving this mail because:
You are the assignee for the bug.