You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Oliver Heger (JIRA)" <ji...@apache.org> on 2012/09/08 21:10:07 UTC

[jira] [Created] (CONFIGURATION-505) Remove support for attribute splitting in XMLConfiguration

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

[jira] [Resolved] (CONFIGURATION-505) Remove support for attribute splitting in XMLConfiguration

Posted by "Oliver Heger (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CONFIGURATION-505?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Oliver Heger resolved CONFIGURATION-505.
----------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0

Fixed in subversion in revision 1385157.
                
> 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
>            Assignee: Oliver Heger
>             Fix For: 2.0
>
>
> 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