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

Re: What is the meaning of a txt file? Parallels betweenthe XM

  • From: Ihe Onwuka <ihe.onwuka@gmail.com>
  • To: Roger L Costello <costello@mitre.org>
  • Date: Wed, 12 May 2021 10:18:16 -0400

Re:  What is the meaning of a txt file? Parallels betweenthe XM
If I paste your post into a .txt file, I will only need additional information to interpret it if you are talking gibberish.... possibility of which has not been ruled out.

On Wed, May 12, 2021 at 8:44 AM Roger L Costello <costello@mitre.org> wrote:
Hi Folks,

Yesterday a colleague asked me for "data". When I asked what kind of data, she said, "txt files".

That got me to thinking, "What is a txt file?" Here are some thoughts.

The format of data in a txt file is unspecified. Contrast that to the format of a JPEG file which is well-known and specified by the JPEG specification. The format of an HTML file is well-known and specified by the HTML specification. Likewise for PPT, DOC, XML, JSON, CSV, and thousands of others. But a txt file has no inherent format; if you are given an arbitrary txt file, all you know is that it holds bytes that can be rendered as character symbols.

A JPEG file has, in a sense, a meaning: it is an image. A HTML file has a meaning: it is a web page. A PPT file has a meaning: it is a set of slides. But what is the meaning of a txt file? It has no preordained meaning. In a sense, a txt file is meaningless. A txt file is the most primitive of text files.

Note that just because a txt file is meaningless, does not imply it is useless. Txt files are useful in those cases where you have a grab bag of data that you want stored and possibly transported.

I see similarities between txt files and the XSD hexBinary type. Both are at the bottom (the most primitive) with respect to meaning. Neither can be interpreted without additional information.

I welcome your comments.

/Roger

_______________________________________________________________________

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.