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

Re: XML data interchange format: Flatter is better

  • From: Michael Kay <mike@saxonica.com>
  • To: "Costello, Roger L." <costello@mitre.org>
  • Date: Tue, 28 Oct 2014 09:49:34 +0000

Re:  XML data interchange format: Flatter is better

> Michael Kay wrote:
> 
>> And for my next exciting revelation, I will announce the discovery of third normal form.
> 
> Hello Michael, I assume you are saying this: 
> 
> 	Flat XML does not adhere to 3rd Normal Form 
> 	design and therefore is bad.
> 

No, that's not what I was saying at all. I shouldn't have been so flippant.

By flattening XML you are doing something close to putting the data in first normal form. So I was simply observing that you seemed to be following the path of enlightenment that would soon lead to third normal form (and probably beyond, e.g. to RDF triples).

In fact, normalization has a lot going for it if you want to present a graph of data to a community of users with differing requirements on what subsets of the data they are interested in, and of course it helps to avoid the redundancies that cause update anomalies. But as a data interchange format (the title of your message), no thanks. Messages are naturally hierarchic, it's the one place in data representation where hierarchies really work well, we've been using hierarchically-structured messages to communicate for centuries, and that's why XML and JSON work so well in this role. 

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.