Re: [xml-dev] XML-formatted data can be incrementally enriched with more and more information ... can data in other data formats be enriched? ... can binary formatted data be enriched?

From
John Cowan <>
To
"Costello, Roger L." <>
Date
2017-10-27T12:45:43Z
ID
<CABzTEQA2z8Wsb0-9OCj7kcvfj4n=+>
Thread
Re: [xml-dev] XML-formatted data can be incrementally enriched with more and more information ... can data in other data formats be enriched? ... can binary formatted data be enriched?


On Fri, Oct 27, 2017 at 8:18 AM, Costello, Roger L. <[email protected]> wrote:

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?


Technically, JPEG is not a file format, just a standard for encoding images.  The file formats most commonly used for JPEG images are Exif and JFIF, and they are both extensible.  PNG is also an extensible format.  There are tools png2sng and sng2png that convert between PNG and an ASCII representation of it that is easy to edit or manipulate with standard tools. 

 

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.


That's a big point to put in a postscript (and by the way, PostScript and PDF are incrementally extensible).