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

Re: Why XML?


xml to flat format perl
I'm not sure this thread deserves much more input, but here goes:

On Fri, 2003-05-16 at 01:27, Matthew.Bennett@f... wrote:
> 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.

One reason to use XML is a well-defined validation mechansim in XML
Schema.  No such mechanism exists for flat file formats.  For example, I
have seen a complex application designed in two halves with a single
message to exchange.  In this case the two parties are part of the same
product so there's no trust issue here at all.  The XML Schema was
agreed at an early stage and used as a contract for both halves of the
product to develop to and more importantly *test* against.

Compare this to a flat file format - sure, you can document the format
but you've then got to test it by hand.  Sounds like hard work to me.

> W3C has violated a
> first-order principle of language design; that there should only be one way
> of doing something, such that everyone ought to devise the 'same' program
> to solve the 'same' problem. 

I'd love to know where that's written down.  

The Perl motto is "There's more than one way to do it."

Academics may have something to say about the design of Perl, but few
will deny that Perl has proven to be an extremely useful tool in certain
situations.

Paul
-- 
Paul Warren, Client Services           DecisionSoft Limited
+44-1865-203192                        http://www.decisionsoft.com


  • References:

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.