https://issues.apache.org/bugzilla/show_bug.cgi?id=49739

           Summary: Problem with setting baseURL if there's a space in the
                    path name
           Product: Fop
           Version: 1.0
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: normal
          Priority: P2
         Component: general
        AssignedTo: fop-dev@xmlgraphics.apache.org
        ReportedBy: mzums...@gmail.com


Hi,

we've got a problem because one of our version was deployed with an ear-name
with spaces in it, therefore we've got the following error message, when
setting the baseURL:

ERROR VelFopProcessor:154 - IOException
java.net.MalformedURLException: Illegal character in opaque part at
index 85: wsjar:file:/opt/***/Application XYZ Archive.ear/***/WEB-INF/lib/fop/
  at org.apache.fop.apps.FOURIResolver.checkBaseURL(FOURIResolver.java:105)
  at org.apache.fop.apps.FopFactory.setBaseURL(FopFactory.java:358

So, the setBaseURL isn't working if there is a space in the path name.

NOK:
/***/Application XYZ Archive.ear/***

OK:
/***/Application_XYZ_Archive.ear/***

After chaning the ear (path name), it was working...

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to