ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> xml-dev
xml-dev
Re: [xml-dev] Xml is _not_ selfdescribing
by Elliotte Rusty Harold other posts by this author
Jan 15 2002 3:16PM messages near this date
Re: [xml-dev] Xml is _not_ selfdescribing | Re: [xml-dev] Xml is _not_ selfdescribing
At 2:52 PM +0100 1/15/02, Jens Jakob Andersen, PDI wrote:
> Hello all
> 
> I think that it is fair to conclude now, that XML is _not_ any more 
> selfdescribing than e.g. CSV files.
> 

That's ridiculous. XML absolutely is more self-describing than CSV. 
Nothing here has proven otherwise.  Your claim is indicative of the 
flawed binary logic that pervades much of the Internet. XML is not 
perfectly self-describing. Therefore it is not self-describing. But 
that's only a syllogism in binary logic. The real world isn't binary. 
It's fuzzy. There are degrees of things, including degrees of 
self-description.

No serious analysis of how XML is actually used vs. how CSV files are 
actually used could possibly deny that XML is more self describing. 
The possibility that XML tag names could be chosen randomly does not 
evade the fact that they are not chosen randomly in the vast majority 
of cases. The evidence that some (though far from all) XML 
applications use extremely opaque tag names does not imply that there 
is no meaning there, or that this meaning cannot be teased out of an 
XML document by a sufficiently determined researcher. The need for 
genuine intelligence to comprehend and make use of this meaning does 
not make it useless.

In reverse, the possibility of using column names in CSV files does 
not help in any way with the large proportion of CSV files that don't 
use column names. That the rows of a CSV file can match the column 
names doesn't help at all when they don't. In the real world, XML is 
simply easier to work with than CSV.
-- 

+-----------------------+------------------------+-------------------+
| Elliotte Rusty Harold | elharo@[...].edu | Writer/Programmer |
+-----------------------+------------------------+-------------------+
|          The XML Bible, 2nd Edition (Hungry Minds, 2001)           |
|              http://www.ibiblio.org/xml/books/bible2/              |
|   http://www.amazon.com/exec/obidos/ISBN=0764547607/cafeaulaitA/   |
+----------------------------------+---------------------------------+
|  Read Cafe au Lait for Java News:  http://www.cafeaulait.org/      |
|  Read Cafe con Leche for XML News: http://www.ibiblio.org/xml/     |
+----------------------------------+---------------------------------+

-----------------------------------------------------------------
The xml-dev list is sponsored by XML.org <http://www.xml.org> , an
initiative of OASIS <http://www.oasis-open.org> 

The list archives are at http://lists.xml.org/archives/xml-dev/

To subscribe or unsubscribe from this list use the subscription
manager: <http://lists.xml.org/ob/adm.pl> 
Thread:
Jens Jakob Andersen, PDI
Francis Norton
Elliotte Rusty Harold
Tim Bray

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved