[
https://issues.apache.org/jira/browse/CONFIGURATION-529?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13596335#comment-13596335
]
Oliver Heger commented on CONFIGURATION-529:
--------------------------------------------
It's about maintaining backwards compatibility with the configuration format.
The intension was - and is - that {{DefaultConfigurationBuilder}} can read the
same configuration files as {{ConfigurationFactory}}. And after both tags for
XML configuration sources have been supported for many years now, I would not
dare to remove one of them now.
> XML_PROVIDER figures twice in ConfigurationProvider[] array within
> DefaultConfigurationBuilder
> ----------------------------------------------------------------------------------------------
>
> Key: CONFIGURATION-529
> URL: https://issues.apache.org/jira/browse/CONFIGURATION-529
> Project: Commons Configuration
> Issue Type: Bug
> Components: Build
> Affects Versions: 1.9
> Reporter: Jan van Oort
> Labels: features
> Fix For: 2.0, 2.x
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> Source code excerpt:
> /** An array with the providers for the default tags. */
> private static final ConfigurationProvider[] DEFAULT_PROVIDERS = {
> PROPERTIES_PROVIDER, XML_PROVIDER, XML_PROVIDER, JNDI_PROVIDER,
> SYSTEM_PROVIDER, PLIST_PROVIDER, BUILDER_PROVIDER, INI_PROVIDER,
> ENV_PROVIDER
> };
--
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