Please create an account to participate in the Slashdot moderation system

 



Forgot your password?
typodupeerror
×

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."
This discussion has been archived. No new comments can be posted.

Celebrate the XML Decade

Comments Filter:
  • by Ant P. ( 974313 ) on Thursday November 16, 2006 @11:02PM (#16879730)

    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)

    by User 956 ( 568564 ) on Thursday November 16, 2006 @11:17PM (#16879828) Homepage
    Take a look at XML application techniques, and general discussion of the technical, economic and even cultural effects of XML.

    Cultural Effects? This is a spec for structuring data, not a Picasso.
  • by porkThreeWays ( 895269 ) on Thursday November 16, 2006 @11:20PM (#16879842)
    Sorta... XML came at a time when there weren't a whole lot of good viable data representation standards. Those that did (i.e. SGML) were too complicated for light use. XML was meant to be used by the masses while still technically remain an SGML subset. We have better alternatives today, but once something is in widespread use, it's not going away for awhile.
  • Stuck (Score:2, Insightful)

    by Duncan3 ( 10537 ) on Thursday November 16, 2006 @11:51PM (#16880052) Homepage
    So we're officially stuck with this crap forever.

    Yay! Lets party!

    XML is for data interchange, nothing else. Unfortunately, it's being used for everything but.
  • by Duhavid ( 677874 ) on Thursday November 16, 2006 @11:55PM (#16880070)
    Not all XML is readable by humans.

    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.
  • by smallpaul ( 65919 ) <paul@@@prescod...net> on Friday November 17, 2006 @12:07AM (#16880132)
    A curly brace syntax would have been a better format for "large scale enterprise publishing"? As someone who has spent more than a decade in that field, I must disagree strongly. A curly brace would have been better to allow enable generic SGML to be served, received, and processed on the Web in the way that is now possible with HTML. [w3.org] Please do not confuse what XML is used for with what it was designed for. There is a reason that XML delivery units are called "documents" and not "messages".
  • a decade of ... (Score:3, Insightful)

    by The Pim ( 140414 ) on Friday November 17, 2006 @12:36AM (#16880358)
    vague semantics, confusing specifications, unwarranted complexity, standards proliferation, poor tools, and wildly inappropriate application. Not to mention rampant disregard for existing work in nearly every arena it entered. So the essence of XML is this: the problem it solves is not hard, and it does not solve the problem well. [bell-labs.com]
  • Re:a decade of ... (Score:1, Insightful)

    by Anonymous Coward on Friday November 17, 2006 @02:08AM (#16880816)
    If you'd rather use SGML be my guest. XML solves the problem of beeing a simple to use subset of SGML very well.
  • by Anonymous Coward on Friday November 17, 2006 @02:51AM (#16880992)
    Separating out human-readableness is fine in theory, but in practice having the lowest-level data in an easy-to-read format proves invaluable from time to time.

    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...
  • by thsths ( 31372 ) on Friday November 17, 2006 @03:43AM (#16881168)
    > So, the redundancy of end tags in XML is there because, in practice, if you didn't have it, we had learned that our users had problems correcting their documents, and we knew that, in general, it was only rarely possible for software to give the users much help. There were some experiments early on with , allowed by SGML (with various options set) to end any element; it soon became obvious that this caused more problems than it was worth, and even Microsoft disabled the troublesome feature in their XML parser.

    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.)

  • by Dahamma ( 304068 ) on Friday November 17, 2006 @04:45AM (#16881356)
    Someone put that in our Bugzilla quips a while back - it's still one of my favorites!

    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)

    by l0b0 ( 803611 ) on Friday November 17, 2006 @05:28AM (#16881500) Homepage
    XML is for data interchange, nothing else.

    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.

  • by Anonymous Coward on Friday November 17, 2006 @03:22PM (#16888518)
    I don't do web development or Windows work, so I don't see a lot of "documents" in XML. However I do see XML misused in strange way. On embedded systems, where memory is scarce and processing is slow, XML may be used to store a mere list of file names, or a "key=value" list that is trivial to parse without the overhead of an XML library. I've seen XML used to store project configuration details that is not intended for interchange, is nearly unreadable by humans, and which is useless without the original app (contrary to what I believe was the intent of XML). I've also seen apps with more than one XML library linked in.

    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.

"And remember: Evil will always prevail, because Good is dumb." -- Spaceballs

Working...