Re: [xml-dev] Why you should not design JSON data models

From
John Cowan <>
To
Ghislain Fourny <>
Date
2017-07-03T14:45:31Z
ID
<CABzTEQC-mfoD6kKOUPssNnsbHjZ=>
Thread
Re: [xml-dev] Why you should not design JSON data models

On Mon, Jul 3, 2017 at 7:47 AM, Ghislain Fourny <[email protected]> wrote:

2. The fact that JSON is smaller/simpler/more lightweight than XML can be advocated reasonably and with objective criteria by, for example, comparing the size of their respective specifications (I mean here the syntax only, not the schema/data model/querying ecosystem around them).

The MicroXML spec is actually only about half as long as RFC 7159, for what that's worth.  MicroXML provides elements, attributes, mixed content, numeric and built-in named character references, and comments.  It does not have DTDs, CDATA sections, PIs,  attribute-value normalization, character encodings other than UTF-8, or namespaces.

-- 
John Cowan          http://vrici.lojban.org/~cowan        [email protected]
You annoy me, Rattray!  You disgust me! You irritate me unspeakably!
Thank Heaven, I am a man of equable temper, or I should scarcely be able
to contain myself before your mocking visage.  --Stalky imitating Macrea