[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Canonical pushes upstart into user session - systemd developer complains



On Thu, Nov 29, 2012 at 09:25:50PM +0100, Stig Sandbeck Mathisen wrote:
> Vincent Lefevre <vincent@vinc17.net> writes:
> 
> > It is more verbose, but I find it as readable (if you have characters
> > that normally need to be escaped, you can still use CDATA sections,
> > which is a way to keep the readability).
> 
> So to keep everyone equally happy, we need:
> 
> <config>
> <![CDATA[
> [section1]
> key1=val1
> key2=val2
> key3=♬♫♩♩♫
> 
> [section2]
> foo=bar
> ]]>
> </config>
> 
> Structure _and_ readability.
 
Should be more like:

- item: |
    <config>
    <![CDATA[
    [section1]
    key1=val1
    key2=val2

    [section2]
    foo={"bar": "baz"}
    ]]>
    </config>

Structure, readability *and* flexibility.

Ben.

-- 
Ben Hutchings
We get into the habit of living before acquiring the habit of thinking.
                                                              - Albert Camus


Reply to: