by Sean McGrath
Software

Pet Peeves - XML

1 comment | 22I like it!
October 27, 2008, 07:34 AM — 

We are teetering on the brink of a new edition of the XML standard: XML 1.0 5th Edition to be precise. This seems like an appropriate moment to look back at the XML roller-coaster and list off some personal peeves.

- My first peeve is the "L". "L" as in "Language". If I had a dollar for every time I have tried to explain that XML is not a language in the sense that most people understand the word, I would personally be able to fund the Emergency Ecomonic Stabilization Act of 2008.

Yes, I know that meta-languages are perfectly good languages with their own notations and syntax and all that good stuff but from the perspective of most senior C-level executives and IT managers, that is too close to intellectual self-gratification for comfort.

- My second peeve is the "X". "X" as in "Extensible". If I had a dollar for every time I have tried to explain that XML is not an extensible in the sense that most people understand the word, I would have a balance sheet to rival Berkshire Hathaway. The language itself is not extensible without considerable pain (see peeve 4). What you can do very easily, is create a language with it. The language you create is not an extension of XML in the same way that a Visual Basic program is not an extension of Visual Basic.

- My third peeve is that the world never decided that round-tripping XML was sufficiently important to make it very easy. I write lots of software that eats XML and spits XML out. I am very interested in the relationship between the XML I eat and the XML I spit. I need it to be really easy to write a "null" program that eats some XML and spits out the same XML - without changing it. To do that, I need to know what "the same" means in the XML world. We have a definition of that but... well...read it and decide for yourself.

- My fourth peeve relates to versioning and citation. I work a lot with legal and regulatory material and my antennae for citation problems are, perhaps, unusually sensitive. We started with XML 1.0. Okay, fine. There were some errata. That is only to be expected. Now we have "editions" of XML 1.0. Okay. Fine. Then along came XML 1.1. Not so fine. Much angst and debate.

XML 1.1 is/was, effectively ignored in many circles. Now we have XML 1.0 fifth edition which includes a revisitation of the same swampy grasslands as XML 1.1.

I know from plenty of personal experience that naming things is a real hard problem but it is terribly irksom that XML - which is all about naming things - appears to have deep problems naming itself.

I like it!
Comments

Sedation Required

I need to start creating and using XML documents for a project. After reading this article I think I need sedation or some sort of medicine to help me through the coming quagmire.
| reply
Free books

Build your tech library with our book giveaways.

Hacking Exposed, Sixth Edition
By Stuart McClure, Joel Scambray, George Kurtz; Published by McGraw-Hill/Osborne

The original Hacking Exposed authors rejoin forces on this tenth anniversary edition to offer completely up-to-date coverage of today's most devastating hacks and how to prevent them. Using their proven methodology, the authors reveal how to locate and patch system vulnerabilities. The book includes new coverage of ISO images, wireless and RFID attacks, Web 2.0 vulnerabilities, anonymous hacking tools, Ubuntu, Windows Server 2008, mobile devices, and more. Enter now!

Featured Sponsor

AISO founders envisioned a Web hosting company that was environmentally friendly. While the company employed energy-efficient innovations like solar panels, its infrastructure produced unacceptable power and cooling requirements. Find out how AISO leveraged AMD technology to overcome their challenge in this case study white paper.

In this whitepaper, Scalar explores the opportunity to change the landscape with respect to mission critical databases built around Oracle. Leveraging technologies such as Linux, high-end commodity processing power and Oracle RAC technology to architect, design, build and maintain database infrastructure that delivers maximum availability, reliability and performance at a fraction of traditional cost.

On a typical day, weather.com, the Web site for The Weather Channel in Atlanta, serves up between 15 million and 20 million page views. But in September 2004, when back-to-back hurricanes ransacked Florida, the peak traffic on one day more than tripled: over 70 million page views by more than 7 million unique visitors. Read the full success story now.

Marketplace