Uploaded image for project: 'Commons Configuration'
  1. Commons Configuration
  2. CONFIGURATION-97

[configuration] XMLConfiguration does not correctly handle comma delimited lists

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.1
    • None
    • None
    • None
    • Operating System: other
      Platform: Other

    • 35938

    Description

      XMLConfiguration has some issues with comma (or the currently set delimiter
      character) delimited lists:

      1) If an XML element contains the delimiter character, it will not be splitted
      into a list element, but is taken as one property whose value contains the
      delimiter character.

      2) If an XML element contains an escaped delimiter character, the corresponding
      property's value will be the exact string, including the escaping character.

      3) If properties are set whose values contain escaped delimiters, no escaping is
      performed when saving the configuration into a file. Thus when it is loaded the
      next time, those properties are now list properties.

      Attachments

        Activity

          People

            Unassigned Unassigned
            oheger Oliver Heger
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: