Re: [dev] Some thoughts about XML

From: Samuel Holland <samuel_AT_sholland.net>
Date: Thu, 24 Oct 2013 01:04:51 -0500

"Alexander S." <alex0player_AT_gmail.com> wrote:

> 2013/10/24 Mihail Zenkov <mihail.zenkov_AT_gmail.com>:
> > 2013/10/23, Alexander S. <alex0player_AT_gmail.com>:
> >>> I'm confused as to what is wrong with the .ini style configurations.
> >>> They're not just used in Windows, they're used in many other places that
> >>> require simple, easy to use configurations. Python uses it, there are C
> >>> api's for it, etc.
> >>>
> >>> So what problem do you have with a .ini file?
> >> They are okay for simple config files. They are the opposite of okay
> >> for a markup language.
> >
> > Why?
> <ol>
> <li> Lack of proper hierarchy, for one;
> <li> Lack of proper heterogenous containers, for two;
> <li><b>The most important one</b>:
> lack of multiline strings.
> </ol>
> <p>
> Try to express something as simple as <i>my answer</i> (which is
> rather trivial HTML snippet) in .ini format.
> </p>
[body]
content="%ol%%p%"
[ol]
style="list-style-type: decimal"
content="%li.1%%li.2%%li.3"
[li]
style="display: list-item"
content1="Lack of proper hierarchy, for one;"
content2="Lack of proper heterogeneous containers, for two;"
content3="%b%:\nlack of multiline strings."
[b]
style="font-weight: bold"
content="The most important one"
[p]
style="display: block"
content="Try to express something as simple as %i% (which is\nrather trivial HTML snippet) in .ini format."
[i]
style="font-style: italic"
content="my answer"
Received on Thu Oct 24 2013 - 08:04:51 CEST

This archive was generated by hypermail 2.3.0 : Thu Oct 24 2013 - 08:12:06 CEST