Branislav Beňo created CONFIGURATION-822:
--------------------------------------------

             Summary: 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


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