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

Terminology: Data Format versus Document Format ... and ...Extensible F

  • From: "Costello, Roger L." <costello@mitre.org>
  • To: "xml-dev@lists.xml.org" <xml-dev@lists.xml.org>
  • Date: Sat, 18 Dec 2010 14:58:58 -0500

Terminology: Data Format versus Document Format  ... and ...Extensible F
Hi Folks,

In his latest blog [1] James Clark makes these distinctions: 

   (1) A format for data versus a format for documents

   (2) A format that is extensible versus a format that is generalized


I want to be sure that I fully understand these terms. Here's what I think they mean:

-------------------------------------------
FORMAT FOR DATA VERSUS FORMAT FOR DOCUMENTS
-------------------------------------------

A "format for data" is a syntax that deals exclusively with fully structured data.

A "format for documents" is a syntax that deals with both fully structured data and semi-structured data (mixed content).

Example: 
    
    - JSON is a format for data. 
    - XML (and Micro XML) is a format for documents.


-------------------------------------------
EXTENSIBLE FORMAT VERSUS GENERALIZED FORMAT
-------------------------------------------

A format is "extensible" if it is a markup language which allows new markup (elements and attributes) to be added to the language.

A format is "generalized" if it is a markup language which does not have predefined tag names with built-in semantics. A format that is generalized is a meta markup language. 

Example: 

    - HTML is extensible but not generalized. 
    - XML (and Meta XML) is both extensible and generalized.


Is my understanding correct? Do the above definitions completely and correctly capture the distinctions?

/Roger

[1] http://blog.jclark.com/2010/12/more-on-microxml.html 




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