Uploaded image for project: 'Struts 1'
  1. Struts 1
  2. STR-2687

Add support for XML properties files.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 1.2.8
    • Future
    • Core
    • None
    • Operating System: other
      Platform: Other
    • 37851

    Description

      Add support for XML properties files.

      When building internationalized sites, properties files become a pain to use.
      ".properties" files are encoded using ISO 8859-1 so characters not in the
      encoding have to be written using Unicode escapes.

      The native-to-ASCII Converter can be used, but much better approach would be to
      use XML properties files. Since UTF-8 encoding can be used, there is no longer
      the need to use Unicode escapes.

      Can org.apache.struts.util.PropertyMessageResources be modified to load ".xml"
      if the ".properties" does not exist.

      Attachments

        Activity

          People

            Unassigned Unassigned
            redgeler Rob Edgeler
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: