Comments
Patrick Collands wrote: collands (AT) gmail com I'd be very grateful for an invitation. Thank you.
Cloud Expo on Google News

SYS-CON.TV

2009 East
PLATINUM SPONSORS:
IBM
Smarter Business Solutions Through Dynamic Infrastructure
IBM
Smarter Insights: How the CIO Becomes a Hero Again
Microsoft
Windows Azure
GOLD SPONSORS:
Appsense
Why VDI?
CA
Maximizing the Business Value of Virtualization in Enterprise and Cloud Computing Environments
ExactTarget
Messaging in the Cloud - Email, SMS and Voice
Freedom OSS
Stairway to the Cloud
Sun
Sun's Incubation Platform: Helping Startups Serve the Enterprise
POWER PANELS:
Click For 2008 West
Event Webcasts
Does XML Have a Future on the Web?
A more interesting question is 'Is XML on the web trending up or trending down?'

Douglas Crockford's Blog

I was invited to speak at XML 2007 last month. I was given the topic "Does XML have a future on the web?" My answer was "yes." As evidence, I offered that there are still people selling Cobol compilers. Once this stuff gets into the enterprise, it can take generations to get rid of it.

A more interesting question is "Is XML on the web trending up or trending down?" Clearly, it is trending down. For data transfer applications, XML is losing ground to JSON because JSON is simply a better data transfer format. And XHTML has failed to displace HTML in the marketplace. The benefit of clientside validation has proven to not be a benefit.

I think you can argue, and in fact I did argue, that because of W3C's adventures with XML, the web itself may not have a future. The browser has a lot of problems, the worst of which are the security problems that came with Netscape Navigator 2. That was 12 years ago, and there has been no progress since that time in fixing the fundamental problems. There have been lots of patches on top of patches. Nothing more.

The web has grown up from a document delivery system to an application delivery system. But the browser has not kept pace, so there are now new proprietary platforms from Adobe and Microsoft and others that are hoping to replace the web.

Michael Sperberg-McQueen was there, and has described my argument as a truly mystifying rhetorical move. Michael and I were on the same panel, at which he wished he had said

It gives me some regret now that I did not interrupt at this moment to point out that XHTML and XForms are precisely an effort (all in all, a pretty good one) to improve the foundations of the Web, but I wasn't quick enough to think of that then.

XHTML is not the solution to a problem that concerns anybody except the guys who have to write parsers that convert markup into DOM trees. It turns out that XHTML put the validation on the wrong end of the network. It turned out that the market didn't put much value in a document delivery system that could decide to not display the document because there was an unrecognized attribute on an invisible meta tag. This same sort of wrong-end-of-the-network thinking can be seen today in the HTML 5 working group's crazy XHR access control language.

Continued...

About Douglas Crockford
Douglas Crockford, an architect at Yahoo!, is an AJAXWorld regular. A technologist of parts, he has developed office automation systems, done research in games and music at Atari, and been both Director of Technology at Lucasfilm and Director of New Media at Paramount. He was the founder and CEO of Electric Communities/Communities.com and the founder and CTO of State Software, where he discovered JSON. He is interested in Blissymbolics, a graphical, symbolic language, and is developing a secure programming language.

In order to post a comment you need to be registered and logged in.

Register | Sign-in

Reader Feedback: Page 1 of 1

Douglas,

I noticed the other day that Ruby had crested about August 2006 in terms of the number of citations it was receiving in the press, and has been declining at a rate of roughly 2-3% per month ever since. Given that Ruby is perhaps one of the largest single producer/consumer networks of JSON, it may be worth spending some time looking seriously at whether in fact the arguments you are making are not in fact as applicable to that environment.

Most syndication that I see on the web is XML based, though since its usually called RSS2 or Atom people tend to discount how pervasive that is; the entire SOA stack is XML based, and I'd estimate that something like 65%-80% of all web development currently involves XML at some point in the production pipeline, if not necessarily the point connecting the server to the browser. While there is a fairly significant amount of JSON being flung around in the web 2.0 space, I find that neither JSON transformations nor JSON schemas have really managed to gain much traction.

Is JSON better than XForms? That's an apples and oranges argument. I am willing to predict that XForms + XQuery will become a powerful enterprise model for rich form content, because the enterprise is considerably more XML-centric than the consumer stack is. I'm willing to predict that JSON feeds to most mashups will likely end up being a mix of XML (primarily via feeds) and JSON for quite some time, though I'm inclined to suspect that AtomPub will likely tilt the balance of power towards XML in the long run.

One final note - I suspect that if you look at rate of growth, both JSON and XML are on sigmoid curves, with XML perhaps about 75% of the way along its trajectory, while JSON's probably about 50% of the way along its. Both will continue to rise in usage for quite some time, but both will also reach a plateau point, rather than one replacing te other. Big variables yet to be answered is to what degree is JSON catching on in the mobile space (by most accounts, mobile developers prefer declarative markup), to what extent will mashups continue to rise (my sense is that they are in fact stabilizing or even beginning to fall as the market becomes saturated there, while syndication feeds become the dominant services architecture), and whether a lightweight XML format such as e4x or LINQ gets adopted by other platforms (which I suspect will likely be the case with an ES4 adoption, which you're also opposed to).

JSON's not going to go away, nor should it - there are actually quite a few niches where it is in fact preferable to working with XML. However, I also think that its a little early to predicting the demise of XML on the web ... especially since I see some of the most interesting XML technologies really JUST beginning to come online now.

-- Kurt

it seems to me that the author doesn't understand the full context in which XML is invented in the first place (the inflection point of enterprise architecture that is data centric instead of object centric)... choosing a format like JSON just seems like a step backwards..


Your Feedback
Kurt Cagle wrote: Douglas, I noticed the other day that Ruby had crested about August 2006 in terms of the number of citations it was receiving in the press, and has been declining at a rate of roughly 2-3% per month ever since. Given that Ruby is perhaps one of the largest single producer/consumer networks of JSON, it may be worth spending some time looking seriously at whether in fact the arguments you are making are not in fact as applicable to that environment. Most syndication that I see on the web is XML based, though since its usually called RSS2 or Atom people tend to discount how pervasive that is; the entire SOA stack is XML based, and I'd estimate that something like 65%-80% of all web development currently involves XML at some point in the production pipeline, if not necessarily the point connecting the server to the browser. While there is a fairly significant amount of JSON being flung aro...
Anonymous wrote: it seems to me that the author doesn't understand the full context in which XML is invented in the first place (the inflection point of enterprise architecture that is data centric instead of object centric)... choosing a format like JSON just seems like a step backwards..
Latest Cloud Developer Stories
CloudBench Applications, Inc. announced its financial results for the three months and nine months ending September 30, 2009. All amounts are stated in Canadian dollars unless otherwise noted. Revenues from BasicGov, the Company's cloud computing solution for local government, gr...
The new contract is an industry first, with CSC being the first Microsoft partner to lead and win a cloud computing services agreement of this scale. Under terms of the contract, CSC will provide Royal Mail Group's 30,000 employees with access to new IT services using Microsoft's...
Operates in over 170 countries and is one of the world’s leading providers of communications solutions and services. Richard Tarboton talks for MeettheBoss.TV on his role as Head of Energy & Carbon for BT and what they are doing towards reducing carbon emissions.
CA is going to put its Agile Planner software on salesforce.com’s Force.com platform in the first half to accelerate development time and give users visibility over their development initiatives to reduce time-to-market. Customers are supposed to be able to accelerate the deploym...
Despite its uncertain fate Sun soldiers on. Monday it trotted out a cloud-based multiplatform desktop as a service for K-12 and community colleges that can run Windows, the Mac OS, Linux and Solaris applications to nearly any client device, including its own Sun Ray thin clients....
Subscribe to the World's Most Powerful Newsletters
Subscribe to Our Rss Feeds & Get Your SYS-CON News Live!
Click to Add our RSS Feeds to the Service of Your Choice:
Google Reader or Homepage Add to My Yahoo! Subscribe with Bloglines Subscribe in NewsGator Online
myFeedster Add to My AOL Subscribe in Rojo Add 'Hugg' to Newsburst from CNET News.com Kinja Digest View Additional SYS-CON Feeds
Publish Your Article! Please send it to editorial(at)sys-con.com!

Advertise on this site! Contact advertising(at)sys-con.com! 201 802-3021

SYS-CON Featured Whitepapers
ADS BY GOOGLE

Breaking Cloud Computing News
CloudBench Applications, Inc. announced its financial results for the three months and nine months e...