versioned file formats that are not xml?

Description

Does anybody have experience or knowledge about versioning of file formats? With xml, we have been able to auto-sense the file version from the dtd header, and use the correct reader for that. We are looking for the same functionality in file formats that are less heavyweight. What we seem to be getting:

  • json has a schema, which would allow versioning (as far as we understand)

  • sqlite has a schema, which would allow versioning (as far as we understand)

  • csv does not have a schema!!!! (Maybe there is some library or setup that enforces a similar functionality; e.g. PTV input files are csv, and they have some standardized comment lines that give information about version, language, etc.)

Anybody experiences with any of these? If so, could you point us to relevant material? In particular, with sqlite it seems like user_version_pragma might be the thing to use; could that be confirmed?
Thanks a lot ...

Environment

None

Assignee

Janek Laudan

Reporter

Kai Nagel

Labels

Priority

Major
Configure