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

Add support for XML properties files.

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.2.8
    • Fix Version/s: Future
    • Component/s: Core
    • Labels:
      None
    • Environment:
      Operating System: other
      Platform: Other
    • Bugzilla Id:
      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

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

              Dates

              • Created:
                Updated: