Uploaded image for project: 'MyFaces Trinidad'
  1. MyFaces Trinidad
  2. TRINIDAD-638

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

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.0.2-core, 1.2.2-core
    • 1.0.3-core
    • Build
    • None

    Description

      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>

      Attachments

        Activity

          People

            adamwiner Adam Winer
            lothian Simon Lessard
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: