Can XML Be Efficient? W3C Thinks So
![]()
XML brings to mind such words as: ubiquitous, extensible, unwieldy, perhaps even useful. However, efficient is a word rarely used to describe the Extensible Markup Language.
The World Wide Web Consortium is looking to change that attitude with the recent release of a working draft for what they are calling Efficient XML Interchange (EXI).
There is no denying the impact that the introduction of XML has had on enterprise software development. And yet, the text-based nature of the format has caused the greatest outcry. Developers love the flexibility that XML provides when it comes to storing data, but they hate the time required to parse XML files and the processing power required to transform an XML document.
|
SPONSORSHIP |
Supporters of the XML format respond with, “Parsing is a one-time activity so the performance impact is negligible.” This statement is true, but the size of the source XML document is directly proportional to the time required to parse the file and the corresponding memory footprint.
In other words, the bigger the XML document being parsed, the greater the potential for serious performance degradation.
All of this banter led the W3C to form a working group focused on finding ways to make XML parsing more efficient, or eliminate the need for parsing altogether. After two years of work — or, as some would say, a “W3C minute” — a working draft of a specification for the encoding of XML into a binary format for interchange and faster parsing has been produced.
Unfortunately, this announcement has not been met with the unbridled enthusiasm that the W3C hoped for. While EXI — also known as Binary XML — would most likely result in smaller XML-based messages, there remains the concern about the processing power required to decode.
There are also other problems lurking deeper within the specification.
According to Larry O’Brien, the EXI spec describes the ability to specify user-defined encoders/decoders for representing specific schema types. This capability is affectionately known as Pluggable CODECS.
Therefore, when developers across the globe are yearning for a simpler way to exchange information, the W3C responds with a proposed recommendation that introduces yet another layer of complexity into the already complicated world of web services.
If you remain unconvinced, feel free to peruse the working draft for yourself.
After you are done, we would love to hear what you think - good or bad - in the comments section below.
The Latest Headlines
- Flat World Knowledge Turns Textbook Industry Upside Down
- QuickSite Aims to Simplify Vignette Implementations
- Beyond Ten Blue Links With Hakia's Search
- Nexsan Releases Energy-Efficient Assureon 6.0
- BitGravity Launches API for Video, HD Content Delivery
- New Bamboo's Platform Sounds Cute and Promising
- MarkLogic Sever 4.0 Aims to Improve Content Delivery
- Quick Reference Cards for Amazon Web Services
- EPiServer Releases CMS 5 R2 Packed With New Tools
- Five Reasons to Choose Vignette (or Not...)
Comments
Add a Comment
Latest Job Postings
(View All
|
Feed
| Post a Job)
- Manager of Web Properties at The Linux Foundation
- Interactive Designer at Macquarium Intelligent Communications
- Director Web Development at IDG
- Internet Operations Coordinator at Boston Celtics
- Web Systems Manager at The Nature Conservancy
- Director of Content at Dada Entertainment
- Information Services Lead at United Way of Connecticut
- Web Designer at Ning


Are you hiring? Target top talent on our
Tell a Friend
Digg It
Reddit
Tag It
Stumble It

One problem is that the W3C just wants to treat XML as a syntax that has no consistent mapping to semantics. That means everyone has their own special XML encoding. Just try to ask anyone how to return an XML document that represents the string "hello" or the integer 5. Everyone will respond differently. An alternative solution is ConciseXML.org which is a small community effort to clean up XML in a compatible way. I don't think W3C has the ability to really fix the XML mess that was started when they dictated backward compatibility with SGML.
Posted by: Mike Plusch on August 7, 2007 10:57 AM