Priority: P2
            Bug ID: 54098
           Summary: FOP is too strict: URIs containting backslashes are
                    not resolved in FOP 1.1
          Severity: normal
    Classification: Unclassified
          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:

I propose adding the following code in:, 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.

Reply via email to