DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40288>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40288





------- Additional Comments From [EMAIL PROTECTED]  2007-02-16 04:22 -------
(From update of attachment 19603)
Index: C:/workspace/fop/src/java/org/apache/fop/apps/FOURIResolver.java
===================================================================
--- C:/workspace/fop/src/java/org/apache/fop/apps/FOURIResolver.java   
(revision 507572)
+++ C:/workspace/fop/src/java/org/apache/fop/apps/FOURIResolver.java   
(working copy)
@@ -155,7 +155,7 @@
             //Note: This is on "debug" level since the caller is supposed to
handle this
             log.debug("File not found: " + effURL);
         } catch (java.io.IOException ioe) {
-            log.error("Error with opening URL '" + href + "': " +
ioe.getMessage());
+            log.error("Error with opening URL '" + effURL + "': " +
ioe.getMessage());
         }
         return null;
     }
@@ -202,6 +202,9 @@
      * @returns the base URL as java.net.URL
      */
     private URL toBaseURL(String baseURL) {
+        if (!baseURL.endsWith("/")) {
+            log.warn("Base url does not end with a '/'.  This could cause
resolution problems");
+        }
         try {
             return new URL(baseURL == null 
                             ? new java.io.File("").toURL().toExternalForm() 


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

Reply via email to