[ 
https://issues.apache.org/struts/browse/TILES-487?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Antonio Petrelli closed TILES-487.
----------------------------------

    Resolution: Won't Fix

This is a Spring "bug" (or whatever) not a Tiles one.

> BaseLocaleUrlDefinitionDAO not stripping tab and newline chars from file 
> resources
> ----------------------------------------------------------------------------------
>
>                 Key: TILES-487
>                 URL: https://issues.apache.org/struts/browse/TILES-487
>             Project: Tiles
>          Issue Type: Bug
>          Components: tiles-core
>    Affects Versions: 2.1.3
>         Environment: Windows
>            Reporter: Travis Warren
>            Priority: Minor
>
> Seems to be a bug with BaseLocaleUrlDefinitionDAO used by TilesConfigurer 
> when using auto code formatting in IDE's such as eclipse.
> The following code has tab / new line characters that are not stripped off in 
> the BaseLocaleUrlDefinitionDAO.identifySources 
> applicationContext.getResources(resources[i]) (line 188) call. 
> End result is that a FileNotFoundException is thrown (value is 
> /WEB-INF/layouts/layouts.xml\n\t\t\t\t).
> <bean class="org.springframework.web.servlet.view.tiles2.TilesConfigurer"
>               id="tilesConfigurer">
>               <property name="definitions">
>                       <list>
>                               <value>/WEB-INF/layouts/layouts.xml
>                               </value>
>                               <!-- Scan views directory for Tiles 
> configurations -->
>                               <value>/WEB-INF/views/**/views.xml
>                               </value>
>                       </list>
>               </property>
>       </bean>

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

Reply via email to