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

Re: The impact of data format selection on applicationdevelopm

  • From: Michael Kay <mike@saxonica.com>
  • To: Roger L Costello <costello@mitre.org>
  • Date: Sun, 10 Jul 2022 15:19:03 +0100

Re:  The impact of data format selection on applicationdevelopm
> 
> Little languages provide a powerful way to quickly implement robust tools.
> 
> Reading the book made me keenly aware of one thing: The XML data format is complex! Compare the densely written 36-page XML specification (plus the 16-page namespace specification) to this three-sentence specification of a data format:
> 
> The data format consists of lines. Each line contains fields. Fields are separated by a delimiter (space, tab, comma, etc.).
> 

In my opinion that's a lousy specitication, and lousy specifications like that account for an immense about of trouble in our industry.

What's missing?

* It doesn't say what a line is. How are lines separated or terminated?

* What on earth does "etc." mean?

* It says how fields are separated, but it doesn't say what can appear within them. What happens when the value of a field contains a separator?

* It says nothing about character encoding.

* Does every line have to contain the same number of fields?

* Can fields be empty?

The only reason the specification is short is that it's woefully incomplete.

Michael Kay
Saxonica



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


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.