LWN.net Logo

A Smoother Change to Version 2.0

Marc de Graauw discusses XML vocabularies on O'Reilly. "Marc de Graauw follows up David Orchard's recent piece about versioning XML vocabularies with a piece about the Capability Compatibility Design Pattern, including code for achieving forward and backward compatibility between XML vocabulary revisions."
(Log in to post comments)

Don't Use Version Numbers

Posted Apr 19, 2007 12:44 UTC (Thu) by ldo (subscriber, #40946) [Link]

Never use version numbers in an interchange format. What is a format reader supposed to do with a version number it doesn't understand? If it ignores it, then the number doesn't mean anything. But if it treats it as an indication that it cannot understand the format, then it has effectively turned into a different, incompatible format, not a different version of the same format.

Copyright © 2007, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds