Oliver Heger created CONFIGURATION-505:
------------------------------------------

             Summary: Remove support for attribute splitting in XMLConfiguration
                 Key: CONFIGURATION-505
                 URL: https://issues.apache.org/jira/browse/CONFIGURATION-505
             Project: Commons Configuration
          Issue Type: Improvement
    Affects Versions: 1.9
            Reporter: Oliver Heger


Currently {{XMLConfiguration}} allows setting multiple values for an attribute 
node. (This is possible through the {{Configuration}} interface, but of course 
not supported by XML.) When saving the configuration it tries to encode the 
list as a comma-separated string. On reloading, such strings are split again.

The implementation of this feature is pretty complex because points like 
escaping delimiter characters have to be taken into account. I doubt that it 
works in a reliable way in all possible constellations. OTOH, I don't think 
that this functionality provides much value to users.

This ticket is about removing this feature. It will still be possible to add 
and query multiple values of an attribute as long as the configuration is in 
memory. When saving, attribute values are checked. If there are multiple 
values, an exception is thrown.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to