Re: [xml-dev] The markup minimalist

From
Simon St.Laurent <>
To
Date
2014-11-01T18:16:43Z
ID
<>
Thread
Re: [xml-dev] The markup minimalist
On 11/01/2014 10:32 AM, Costello, Roger L. wrote:
> The Markup Minimalist Credo
>
> 1.Flatter is better. Add structure (markup) to XML only when absolutely
> necessary.
>
> 2.Data exchange formats: make them flat.
>
> 3.When sending data to consumers, distribute the data in a flat format.
>
> 4.When consumers receive the flat XML they may add structure (markup) to
> facilitate simpler and more efficient Schematron assertions and/or
> simpler and more efficient application processing. Different consumers
> will add different structure (markup), depending on their (local)
> requirements.
>
> Comments?

For some purposes, this makes sense.  I've argued for a while that there 
is no one true structure for a given document, and this pushes that in a 
"don't impose" direction.

I suspect, though, that this is more of a tendency to encourage than 
laws to enforce.  I'm hoping, for example, that Web Components will let 
the HTML world use much more concise markup than the current "div-itis" 
that afflicts too many sites.

I'm not heading back to CSV, except for a few cases where that fits, but 
simpler markup structures usually make sense to me.

Thanks,
Simon