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

Re: utf



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Fri, Apr 06, 2018 at 02:12:22PM +1200, Ben Caradoc-Davies wrote:
> On 06/04/18 09:33, deloptes wrote:
> >Stefan Monnier wrote:
> >>UUIC that's partly why it's finally losing popularity and being replaced
> >>with json for that use.  I'm not familiar enough with json to know if
> >>it's really a good replacement, but it does look like an improvement.
> >that is simply not true. JSON might be more simple, and might be a
> >replacement to XML in some cases, but XML has the features of SGML and per
> >definition
> >XML is not a single Markup Language. It is a metalanguage to let users
> >design their own markup language.
> 
> Indeed. XML has W3C XML Schema, and stronger validation can be
> specified with Schematron (an ISO standard). JSON Schema is only an
> IETF draft. JSONP allows avoidance of JavaScript XMLHttpRequest
> same-origin rules and has increased the popularity of JSON, but the
> modern solution is CORS.

Well, I think here we're leaving the document/vs data thing: if you
are already serializing whole objects (with methods), that's a whole
other kettle of fish (with more interesting consequences: the Java
community has lots of experience with that [1])

Cheers

[1] https://it.slashdot.org/story/18/03/27/2041225/atlanta-hit-by-ransomware-attack-also-fell-victim-to-leaked-nsa-exploits
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlrHGwcACgkQBcgs9XrR2kbeXQCfSNIO5s234lVFZHVy/+NFnGYR
JBsAn3geK1MkkWpX3OxJOp7+Aixo+FFJ
=2u7X
-----END PGP SIGNATURE-----


Reply to: