[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: XML Sucks


graham hackers painters download
[Dare Obasanjo]
]
 >"3. XML is text, but isn't meant to be read. Programs that produce 
spreadsheets, address books,
 >and other structured data often store that data on disk, using either a 
binary or text format. One
 >advantage of a text format is that it allows people, if necessary, to 
look at the data without
 >the program that produced it; in a pinch, you can read a text format with 
your favorite text editor..."

Quoting from your quote:

 >"One advantage of a text format is that it allows people, if necessary, 
to look at the data without
 >the program that produced it; in a pinch, you can read a text format with 
your favorite text editor..."

You only get human readability if you design for it. With enough namespaces 
and empty elements
and voodoo #PCDATA and serialized-object-think, XML can be made solely 
machine readable.

Although this is a legitimate use of XML, it is not what the marketing 
department tends to imply when
they effuse that "all the data/config files are in XML". Developers buy 
that line, then look at the files
and go "ugh!". I don't blame them.

BTW, I heartily recommend this essay by Paul Graham - Hackers and Painters
(http://www.paulgraham.com/hp.html). (Via Tim Bray 
http://tbray.org/ongoing/When/200x/2003/05/05/Languages)

Much of what he says about readability of programs is equally applicable to 
readability of data.

You need to have empathy with your readers as well as your users. That is 
the essence of good coding and, I would
argue the essence of good XML.

regards,
Sean
http://seanmcgrath.blogspot.com


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.