Re: [xml-dev] XML's greatest cultural advantage over JSON

From
Jirka Kosek <>
To
"Simon St.Laurent" <>
Date
2013-04-29T08:50:06Z
ID
<>
Thread
Re: [xml-dev] XML's greatest cultural advantage over JSON
On 28.4.2013 14:22, Simon St.Laurent wrote:

> XML had a chance with an open-minded crowd of people eager to embrace
> it.  By and large, we utterly failed to convince them.  Once other
> options emerged, they ran there.

I think that story is different. Javascript in browser doesn't have
usable XML API (DOM is simply ... DOM), but evaluating JSON with eval()
at that time was very easy (do you still remember E4X?). Also given the
browser security model you are unable to fetch cross-site XML resources,
but you can do the same with JSON-P. So with JSON it was possible to
walk around limitations in browser, nothing more. With better XML API in
browser and more reasonable security model situation between JSON/XML in
Web front-end development could be very different.

				Jirka


-- 
------------------------------------------------------------------
  Jirka Kosek      e-mail:       http://xmlguru.cz
------------------------------------------------------------------
       Professional XML consulting and training services
  DocBook customization, custom XSLT/XSL-FO document processing
------------------------------------------------------------------
 OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 rep.
------------------------------------------------------------------
    Bringing you XML Prague conference    http://xmlprague.cz
------------------------------------------------------------------