commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joerg Schaible (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CONFIGURATION-324) INIConfiguration does not support line continuation
Date Fri, 17 Jul 2009 06:50:14 GMT

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

Joerg Schaible commented on CONFIGURATION-324:
----------------------------------------------

bq. Typically where I've seen this supported the continuation character has to be the last
character on the line. If \ is followed by a blank it will not be a continuation.

Luke's problem is that his ini files don't have a blank before the continuation character,
but expect that a blank is automagically is added. However, I see such a behaviour also critical
as Oliver's example with the Windows path shows.

> INIConfiguration does not support line continuation
> ---------------------------------------------------
>
>                 Key: CONFIGURATION-324
>                 URL: https://issues.apache.org/jira/browse/CONFIGURATION-324
>             Project: Commons Configuration
>          Issue Type: Improvement
>          Components: Documentation, Format
>    Affects Versions: 1.5
>            Reporter: Charles Honton
>            Assignee: Oliver Heger
>            Priority: Minor
>             Fix For: 1.6
>
>
> INIConfiguration does not support line continuation.  See http://en.wikipedia.org/wiki/INI_file#Escapes
for a description.  Using INIConfiguration to read the following file:
> [section1]
> dotted.var1 = \
> 	foo
> var2 = doodle
> Produces the following contents:
>     section1.dotted.var1= \
>     section1.foo= 
> I expected the following contents:
>     section1.dotted.var1= foo

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