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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Nightly Builds
    • None
    • None
    • None
    • Operating System: All
      Platform: All

    • 30205

    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"/>

      Attachments

        Activity

          People

            Unassigned Unassigned
            ebourg Emmanuel Bourg
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: