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

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18058

Error fetching Image from URL

           Summary: Error fetching Image from URL
           Product: Fop
           Version: 0.20.4
          Platform: Other
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: images
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


In our production environment we create images for userdefined advertisements 
on the fly. The path to the stored images depends on the user input. That means 
if the user has an order with key: "MyOrder#001" the produced image will be 
stored in ..some_path/MyOrder#001/MyAdPict01.eps

If the (relative) path to an Image contains a '#' the Image will not be found 
due to the URL is constructed in FOPImageFactory (line:111) as followed: 
new URL( Configuration.getStringValue( "baseDir" ) + absoluteURL.getFile() )

The URL , created before, has interpreted the content after the '#' as a anchor 
reference and this information will be lost on constructing the new URL so that 
the Image will never appear in the output.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to