You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Simon Lessard (JIRA)" <de...@myfaces.apache.org> on 2007/08/21 14:43:30 UTC

[jira] Created: (TRINIDAD-638) trinidad-config.xml's parser should greedily trim white spaces for some properties

trinidad-config.xml's parser should greedily trim white spaces for some properties
----------------------------------------------------------------------------------

                 Key: TRINIDAD-638
                 URL: https://issues.apache.org/jira/browse/TRINIDAD-638
             Project: MyFaces Trinidad
          Issue Type: Bug
          Components: Build
    Affects Versions: 1.0.2-core, 1.2.2-core
            Reporter: Simon Lessard
            Priority: Minor


Currently, the parser does not get rid of leading and trailing white spaces greedily enough, resulting in some bad configuration setting for correct looking XML file. Namely, the following will result in an error:

<skin-family>
  #{view.locale.language == 'en' ? 'someEnglishSkin' : 'someOtherSkin'}
</skin-family>

while the following works:

<skin-family>#{view.locale.language == 'en' ? 'someEnglishSkin' : 'someOtherSkin'}</skin-family>

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


[jira] Resolved: (TRINIDAD-638) trinidad-config.xml's parser should greedily trim white spaces for some properties

Posted by "Adam Winer (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/TRINIDAD-638?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Adam Winer resolved TRINIDAD-638.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 1.0.3-core
         Assignee: Adam Winer

Fixed.

> trinidad-config.xml's parser should greedily trim white spaces for some properties
> ----------------------------------------------------------------------------------
>
>                 Key: TRINIDAD-638
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-638
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 1.0.2-core, 1.2.2-core
>            Reporter: Simon Lessard
>            Assignee: Adam Winer
>            Priority: Minor
>             Fix For: 1.0.3-core
>
>
> Currently, the parser does not get rid of leading and trailing white spaces greedily enough, resulting in some bad configuration setting for correct looking XML file. Namely, the following will result in an error:
> <skin-family>
>   #{view.locale.language == 'en' ? 'someEnglishSkin' : 'someOtherSkin'}
> </skin-family>
> while the following works:
> <skin-family>#{view.locale.language == 'en' ? 'someEnglishSkin' : 'someOtherSkin'}</skin-family>

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