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

RE: Why XML?

  • To: <Matthew.Bennett@f...>,<xml-dev@l...>
  • Subject: RE: Why XML?
  • From: "Dare Obasanjo" <dareo@m...>
  • Date: Thu, 15 May 2003 17:41:55 -0700
  • Thread-index: AcMbQhSWxf5jld+aRGyuRJrhcEYkjAAAFZZQ
  • Thread-topic: Why XML?

blockquote xml
> -----Original Message-----
> From: Matthew.Bennett@f... 
> [mailto:Matthew.Bennett@f...] 
> Sent: Thursday, May 15, 2003 5:28 PM
> To: xml-dev@l...
> 
> 
> I appreciate XML's strengths re: markup, but I don't think it 
> has much of a role in data exchange. Why would anyone use 
> something as arcane as XML when flat files have worked 
> perfectly well since .... whenever. Between 'trusted' parties, anyway.
> 
> Two things make me wonder about the competence of those who 
> designed XML.

This sounds like a troll, but I'm bored waiting for traffic to ease up
before I leave so I'll bite. 

> 1. If you wanted to keep it comprehensible, why invent 
> nonsense like attributes? What can they do that nested 
> elements can't? 

I had this discussion with one of our devs yesterday. When attributes
first came around they existed as a mechanism for embedding 
metadata about markup that was not directly related to the actual
content. Storing such metadata as nested elements mixed up metadata and
the actual data. However in this day and age where one can partition
elements into namespaces this is not as big a concern as it used to be
and attributes are a legacy concept. 

> 2. If a start tag must have a matching end tag, 
> what purpose is served by that ridiculous slash in an end-tag?

*cough* AMBIGUITY *cough* 

Consider  

<blockquote><blockquote><blockquote><blockquote><b><blockquote><blockquo
te><b><blockquote><blockquote><blockquote><blockquote>

which could be 

<blockquote><blockquote></blockquote><blockquote><b></blockquote><blockq
uote><b></blockquote><blockquote></blockquote></blockquote>

or 

<blockquote><blockquote><blockquote><blockquote><b><blockquote></blockqu
ote><b></blockquote></blockquote></blockquote><blockquote>

Ridiculous indeed. ;)

-- 
PITHY WORDS OF WISDOM 
Any simple theory will be worded in the most complicated way.


This posting is provided "AS IS" with no warranties, and confers no
rights. 

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.