forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gavin (JIRA)" <j...@apache.org>
Subject [jira] Commented: (FOR-991) PluginGallery misbehaves on images having multiple "dots" in the filename. Venus.11.JPG as an example.
Date Sun, 15 Apr 2007 22:46:15 GMT

    [ https://issues.apache.org/jira/browse/FOR-991?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12488982
] 

Gavin commented on FOR-991:
---------------------------

Images are being converted to @src using the dot as a reference point and so the second dot
and anything inbetween are being lost.

Such as 

 <img src="{substring-before(@name, '.')}.small.jpg" />



> PluginGallery misbehaves on images having multiple "dots" in the filename.  Venus.11.JPG
as an example.
> -------------------------------------------------------------------------------------------------------
>
>                 Key: FOR-991
>                 URL: https://issues.apache.org/jira/browse/FOR-991
>             Project: Forrest
>          Issue Type: Bug
>          Components: Plugin: input.PhotoGallery
>    Affects Versions: 0.8-dev
>            Reporter: Paul Kronenwetter
>            Priority: Minor
>
> Images with multiple "dots" in the filename are handled incorrectly.  From CFAS's broken-links.xml:
>   <link message="/home/kronenpj/src/svn/cfas/src/documentation/content/xdocs/images/gallery/planet/Venus.jpg
(No such file or directory)" uri="/gallery/planet/V
> enus.small.jpg">
>     <referrer uri="/gallery/planet/pic_4.html"/>
>   </link>
> However, the source file is: Venus.11.JPG, under xdocs/images/gallery/planet.  I realize
this may overlap JIRA FOR-990, so I'll do some additional testing with the file as Venus.11.jpg
and report later.
> Unfortunately, this is the only file I currently have with multiple "dots" in the filename.
> The workaround of course is to rename the source files. I don't believe it's the intention
of the plugin to dictate the case-style for filenames. Also, converting a file to a different
case on Windows is mildly difficult as the Windows file system is case-insensitive. I'm working
on a Gentoo Linux box running Sun's JDK 1.5.0.11. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message