[ 
https://issues.apache.org/jira/browse/CONFIGURATION-822?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17619099#comment-17619099
 ] 

Branislav Beňo commented on CONFIGURATION-822:
----------------------------------------------

Here is a link to related pull request: 
https://github.com/apache/commons-configuration/pull/229

> INIConfiguration: Section with inline comment is determined ambiguously
> -----------------------------------------------------------------------
>
>                 Key: CONFIGURATION-822
>                 URL: https://issues.apache.org/jira/browse/CONFIGURATION-822
>             Project: Commons Configuration
>          Issue Type: Bug
>    Affects Versions: 2.8.0
>            Reporter: Branislav Beňo
>            Priority: Minor
>
> The INIConfiguration determines section with in line comment ambiguously:
>  * in case of {{*[section] ; some comment*}} is section determining refused
>  * in case of  {{*[section11] ; related to [section1]*}} is section 
> determined, however with wrong section identifier {{*section11] ; related to 
> [section1*}}
>  
> The correct result should be:
>  * in first case is section determined with identifier {{*section*}}
>  * in second case is section determined with identifier {{*section11*}}
>  
> +Note:+
> Both cases are not theoretical.
> Both are based on ini files used within a real project.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to