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

RE: Four fine text-based data formats ... liberateyourself fro

  • From: "Costello, Roger L." <costello@mitre.org>
  • To: "xml-dev@lists.xml.org" <xml-dev@lists.xml.org>
  • Date: Sun, 24 Mar 2013 17:15:11 +0000

RE:  Four fine text-based data formats ... liberateyourself fro
Thanks Tim, Shaun, and Ihe for your excellent comments.

Below I try to address some of your comments.

Ihe wrote:

    If you wanted all such software programs to behave 
    uniformly with respect to the same syntax (please tell 
    me why you wouldn't) what do you think you'd end up with.

If I wanted every software program to behave uniformly upon receiving, say, some geolocation data (and be agnostic to its data format), then I would do this:

    I would have a layer that converts the particular data format
    into an abstract representation (perhaps as a list of values or
    perhaps as a tree data structure) and then I would have a software
    module (that is distributed to everyone) to process the geolocation
    data.

It's the fact that everyone is using the same software module that ensures common semantic interpretation. Common semantic interpretation is not achieved via a common syntax.

Shaun wrote:

    What do you mean by "plain text"?

Open up emacs and start typing. Save as UTF-8. Close the file.

That's a plain text file. 

XML, JSON, and CSV are plain text files - they are special cases of a more general data format.

So "plain text" is the most general data format. And it is the most widely supported.

Shaun also wrote:

    syntax absolutely informs the semantics. For example, 
    you can't nest things in CSV or INI files.

I'm not sure that I understand the subtleties of your statement. Are you saying that knowing some stuff is syntactically within some other stuff (e.g., A is embedded in B) is providing useful semantic information? How so? If a software module receives some completely unknown data and it finds that some stuff is nested within some other stuff, and the software has zero understanding of any of the stuff, then how has the nesting structure enlightened the software regarding the semantics of the data?

Tim wrote:

    Can you possibly explain "how" this is true?

Since Simon was the originator of the statement, I defer to him.

/Roger

-----Original Message-----
From: Ihe Onwuka [mailto:ihe.onwuka@gmail.com] 
Sent: Sunday, March 24, 2013 12:33 PM
To: xml-dev@lists.xml.org
Subject: Re:  Four fine text-based data formats ... liberate yourself from one (silo) data format

>
> What about semantics; is one data format semantically richer than another? No! All of the data formats are just syntax. Semantics must be applied to the syntax. How are semantics applied to syntax? Easy, write a software program that does something when it sees certain syntax. The software gives life to the syntax - it gives semantics to the syntax.
>

If you wanted all such software programs to behave uniformly with
respect to the same syntax (please tell me why you wouldn't) what do
you think you'd end up with.

_______________________________________________________________________

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@lists.xml.org
subscribe: xml-dev-subscribe@lists.xml.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.