Commons Configuration
  1. Commons Configuration
  2. CONFIGURATION-116

[configuration] XMLConfiguration doesn't support attribute names with a dot

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: Nightly Builds
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

      Description

      The setXmlProperty method in XMLConfiguration splits the key on the node
      delimiter, that's the dot character, before diving into the DOM document to set
      the property. It means that if the key specifies an attribute property
      (foo[@bar]), the attribute name can't contain a node delimiter otherwise it'll
      be truncated. For example:

      setXmlProperty("foo[@bar.man]", "value");

      will result in the creation of the following element:

      <foo ba="value"/>

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Emmanuel Bourg
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development