XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
XML-formatted data can be incrementally enriched with more and moreinformation ... can data in other data formats be enriched? ... can binaryformatted data be enriched?

Hi Folks,

 

Assertion: The XML data format is the only data format that lends itself to incremental enrichment.

 

Assertion: If data is to traverse through a workflow and you want the data to be incrementally enriched along the way, then you must format the data as XML.

 

Do you agree with those assertions?

 

Below is a scenario that shows what I mean by incrementally enriching data.

 

Scenario: Node 1 receives this XML document about an aircraft flight:

 

<aircraft>
   
<flight>United Airlines 545</flight>
</aircraft>

 

Node 1 enriches the document with data about the departure airport:

 

<aircraft>
   
<flight>United Airlines 545</flight>
   
<departure-airport>Boston, Logan</departure-airport>
</aircraft>

 

Node 1 receives a second XML document about a second aircraft flight. Again, Node 1 adds data about the departure airport. Node 1 then bundles the two XML documents, and sends the bundle to the next downstream node.

 

<northeast-flights>
   
<aircraft>
       
<flight>United Airlines 545</flight>
       
<departure-airport>Boston Logan</departure-airport>
   
</aircraft>
   
<aircraft>
       
<flight>Southwest Airlines A37</flight>
       
<departure-airport>Washington Dulles</departure-airport>
   
</aircraft>
</northeast-flights>

 

What this scenario shows is that, if the data is formatted as XML, it is quite reasonable to incrementally add more and more information to the data.

 

Suppose the data is not formatted as XML. Can the data be incrementally enriched with more and more information?

 

Suppose the data is formatted as Comma Separated Values (CSV). Does the CSV format lend itself to incremental enrichment? How would you bundle together multiple CSV files and provide data about the bundle?

 

Suppose the data is binary. For example, suppose the data is a JPEG file. How would you incrementally enrich JPEG files? How would you bundle together multiple JPEG files and provide data about the bundle?

 

Lesson Learned: XML is the only data format that supports incremental enrichment.

 

/Roger

 

P.S. I reckon JSON-formatted data can also be incrementally enriched.

 

 



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS