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

Re: Four fine text-based data formats ... liberate yourselffro

  • From: Rick Jelliffe <rjelliffe@allette.com.au>
  • To: "Simon St.Laurent" <simonstl@simonstl.com>
  • Date: Mon, 25 Mar 2013 13:55:17 +1100

Re:  Four fine text-based data formats ... liberate yourselffro

Simon  raises the good point that what is proposed is still markup. And is open. Many of XMLs selling points were fair when comparing against binary formats, ill-defined formats, secret proprietary formats, formats with so much variability they cannot be parsed without extra metadata,  but the more that XML is compared with formats that are like XML (text, open, neutral, well-defined, domain independent, generalized ) the less the clear lead XML has. How could it be otherwise?

I disagree with Simons problems with schemas, at least i think there are simple ways to avoid some of the problems: in many recent projects i use simple highly generic dtds for vocabulary, id and parent  constraints plus schematron for others: but these dont trap me because at any time i can plonk in processing instructions. It does not hold water to say that XML has problem X if you simultaneously reject utilizing Xml's tool for overcoming problem X!

Roger could add wiki formats and html5 syntax too. They all have sweet spots. by the way, some CSV does allow subfields with a different separator.

What Sgml tried to do was attempt to unify all these different kinds of untyped markup. It made the simplest system too heavyweight. XML Schemas tries to unify XML with typed markup, and again it is too heavyweight for the kinds of tasks where JSON shines.

JSON might get too heavyweight too if you tried to add a layer on JSON to indicate the status of each data item -- which is what XML is all about: is this part of the main text flow?, is this info about that text?, is this metadata/attribute?, is this text for under_the_hood messages to humans?, is this text part of some hack?  That status information is useful for some applications (industrial publishing) but not as compelling as an organizing principle for ephemeral data exchange,IMHO.

Every technology has tradeoffs and these change over time. JSON embodies some good software engineering qualities (reducing overworking) but not others (for archiving having no comment mechanism is surely a complication). XML has no tag omission which restricts what can workably produce it. 

Cheers
Rick




On Mar 25, 2013 11:19 AM, "Simon St.Laurent" <simonstl@simonstl.com> wrote:
On 3/24/13 7:07 PM, David Lee wrote:
This thread is really getting really unintelligible to me but hey
that's why I subscribe.  Its good to have my brain hurt. I will avoid
commentary on the most  but I have 2 I can't help but reply.

xml-dev is an excellent place to get a headache, yes.

1) (Verbosity is the other common explanation.) <shameless plug> If
you truly buy into this, or don't ! ... I would love you to put your
2 minutes where your mouth is and help establish some scientific
evidence. Please visit http://speedtest.xmlsh.org

I will be having a public crow-eating party with the results.  Not
sure who will be eating the crow so stay tuned.  It could be me.
Please help humiliate me in public.  Whatever it takes to get
volunteers !

It's not about processing or transmission speed - rather, it's about the overhead of those _things_ stuck in the data, things which often double or treble or quadruple or otherwise inflate the size.

Sometimes it's typists complaining, but the more serious complaints were from people who simply had massive datasets and didn't want the overhead, whether that overhead was in (de)compressing them or in storing and transmitting them.

I started out trying to convince them otherwise, but by the fifth or sixth conversation with people who not only disliked the markup but distrusted the standards organizations who had told them to use it, I stopped.

They clearly had found better solutions in simpler text formats.  It was still, in some sense, markup - it just didn't look anything like XML.

Thanks,
--
Simon St.Laurent
http://simonstl.com/

_______________________________________________________________________

XML-DEV is a publicly archived, unmoderated list hosted by OASIS
to support XML implementation and development. To minimize
spam in the archives, you must subscribe before posting.

[Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
Or unsubscribe: xml-dev-unsubscribe@l....org
subscribe: xml-dev-subscribe@l....org
List archive: http://lists.xml.org/archives/xml-dev/
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php



[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.