O'Reilly logo

Definitive XML Schema, Second Edition by Priscilla Walmsley

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 23. Versioning

As business and technical requirements change over time, you will need to define new versions of your schemas. Defining new versions is a special case of extension and restriction. You may be both adding and removing components, with the intention of replacing the older version.

When you create a new version intended to replace a previous one, you should create a completely new schema rather than attempt to extend or restrict the existing one. Otherwise, as time goes on and additional versions are created, the definitions could become unnecessarily complicated and difficult to process. If you are not using the restriction and extension mechanisms of XML Schema, though, you need to take extra care to make the new definitions ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required