Celebrate the XML Decade 177
IdaAshley writes "IBM Systems Journal recently published an issue dedicated to XML's 10th anniversary. Take a look at XML application techniques, and general discussion of the technical, economic and even cultural effects of XML. Learn why XML has been successful, and what it would take for XML to continue its success."
Why XML was successful (Score:4, Insightful)
Marketing to PHBs, mostly.
However here on earth a lot of people still hand-code the stuff. IMO a C-like syntax using nested {}s would've been better.
news flash (Score:2, Insightful)
Cultural Effects? This is a spec for structuring data, not a Picasso.
Re:Why XML was successful (Score:5, Insightful)
Stuck (Score:2, Insightful)
Yay! Lets party!
XML is for data interchange, nothing else. Unfortunately, it's being used for everything but.
Re:JSON itself is still quite bloated. (Score:4, Insightful)
The formatting strings in Janus controls come to mind.
I have heard that the new Office format (XML) was pretty unreadable.
And what is with modding everything in this thread to zero.
Re:Why XML was successful (Score:5, Insightful)
a decade of ... (Score:3, Insightful)
Re:a decade of ... (Score:1, Insightful)
Re:Why XML was successful (Score:1, Insightful)
Developing a widget that connects to another XML-spewing widget using an XML-reader is all well and good when everyone behaves. But more often than should happen, the other widget uses some syntax or formatting that's improper XML or your XML-reader-editor can't handle a particular case it uses. Yes, in a perfect world, both of these would follow the standard perfectly and you'd never have to look at the formatting, but when I'm getting paid to code, I often don't have the time or access to the source code to make everything else perfect, and just need to make my code work. If that means relying on notepad on a client's computer, XML's human readability becomes more valuable to me than any presentation-encoding separation.
-TheJorge, posting AC from a friend's computer because firefox saved my password long ago and I can't remember it...
Re:Why XML was successful (Score:3, Insightful)
Given my experience with users that have inadequate support in their editor for structured documents, having the redundancy actually does not help. Sure, you get an error message instead of accidentally specifying something you did not wont, but the error message does not help people all that much. So they still stare at the XML and don't get what is wrong.
Allowing comments within an element (for each attribute) would have been a huge contribution to legibility. Of course that depends on how you use it, but I think attributes get a lot of use exactly because they have less redundancy.
My conclusion is that in the end, you need structured tools for structured data. And so the format does not actually have to be easy to read. (And believe me, even the best of XML documents are not easy to read if the structure is reasonably complicated.)
Re:Celebrate the XML Decade (Score:4, Insightful)
My conspiracy theory is that XML was secretly invented by Intel in order to require 3GHz processors for the simplest of tasks.
Re:Stuck (Score:2, Insightful)
Isn't all data interchanged? From client to server, from blogger to browser, from developer to developer, etc. Any data which is not interchanged is either useless or forgotten. And XML has shown its strength in all these areas: Ease of human and computer parsing.
Re:Why XML was successful (Score:1, Insightful)
I believe there are just a lot of programmers out there for whom XML is their primary tool in their kit, and don't know how to use more appropriate tools when the situation demands it. They have a hammer and all programming tasks look like nails. Maybe this is all a symptom of the "computers are fast and memory is cheap" disease which encourages programmers to be sloppy.
Maybe part of the XML legacy is yet more proof that people will misuse tools they are given. XML has become a checkoff buzzword; an app needs to support XML to make project leaders happy, not because XML is needed.