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

XMLConfiguration: Can't disable attribute splitting

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.5
    • Fix Version/s: 1.6
    • Component/s: Format
    • Labels:
      None

      Description

      My XML configuration has the following attribute:
      <some-element some-attribute=" " />

      But XML Configuration is trying to split this string and trims it after splitting. I don't need this behaviour, but setting setDelimiterParsingDisabled() just changing delimeter to "|" and not disables attribute trimming.

      Need either to disable trimming/splitting if setDelimiterParsingDisabled() is set to TRUE (incompatible change), or add something like setParseAttributesAsIs() that will prevent attributes to be trimmed and splitted

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                oheger Oliver Heger
                Reporter:
                bsp Sergey Vladimirov
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: