commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Bourg (JIRA)" <j...@apache.org>
Subject [jira] Updated: (CONFIGURATION-327) INIConfiguration Global parameters alias sectional parameters
Date Fri, 09 May 2008 12:52:57 GMT

     [ https://issues.apache.org/jira/browse/CONFIGURATION-327?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Emmanuel Bourg updated CONFIGURATION-327:
-----------------------------------------

    Affects Version/s: 1.5

The sections are deduced from the prefixes of the keys, that's why "dotted" is considered
as a section. To prevent this we should probably turn INIConfiguration into a hierarchical
configuration, the sections being the first level nodes.

> INIConfiguration Global parameters alias sectional parameters
> -------------------------------------------------------------
>
>                 Key: CONFIGURATION-327
>                 URL: https://issues.apache.org/jira/browse/CONFIGURATION-327
>             Project: Commons Configuration
>          Issue Type: Bug
>          Components: Documentation, Format
>    Affects Versions: 1.5
>            Reporter: Charles Honton
>
> After reading the following file with INIConfiguration 
> default = ok
> dotted.var1 = default
> [section1]
> dotted.var1 = foo
> var2 = doodle
> The set of sections returned by INIConfiguration.getSections() includes "dotted" and
"section1".  I did not expect a section "dotted".

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message