These questions are directed at developers/deployers using XML/DXL, especially those developers who have used DXL in multiple versions of N/D, or whose apps have to be aware of supporting different versions of N/D, or who have practical background in XML versioning issues.What should the mechanism be for DTD/schema versioning? Currently, the N/D approach is to ship a new DTD (and also schema, starting in 7.0) file for every release, including maintenance releases. For example, domino_6_5_4.dtd defines the DXL vocabulary for N/D 6.5.4, and the 6.5.4 DXL Exporter by default emits references to domino_6_5_4.dtd. Currently, a release contains all of the DTDs/schemas for prior releases as well in the xmlschemas subdirectory of the N/D binary directory.
What is general practice being used for DTD and schema versioning?
There are alternatives to our approach which involve using namespaces, additional elements and/or attributes, etc. Are they better, and if so, why?
When should new DTD/schema versions be created? Currently, we ship a new DTD for a release even if nothing changed in DXL since the previous release. For example, domino_6_5_1.dtd and domino_6_5_2.dtd are the same.
Would it be better to only create a new DTD if it contains changes from the previous one?
What should the naming scheme be for versions? Currently, our names are directly tied to the N/D release: domino_6_5_4.dtd goes with N/D 6.5.4, etc.
Is there a better naming scheme, and if so, what makes it better?
We revisiting our original decisions for a couple of reasons. We are getting into a situation for the first time where we are shipping DTDs for multiple major versions (6.x and 7.0) at once, and when the development cycles are overlapping, things get tougher to manage. Starting in 7.0 we ship both DTD and schema, so we are increasing the number of files, and over time, the footprint of all of the DTDs and schemas will increase and may become an issue.
We are appreciative of any feedback you may have on these questions.
FYI: I am one of the developers on the team that develops/maintains DXL/XML at Lotus/IBM.