更新:2007 年 11 月
定义值的类型,这些值使用由四个部分组成的编号系统来标识文件版本。版本号标识 .sdm 文件中包含的所有定义的版本。
<xs:simpleType name="FourPartVersionType">
<xs:restriction
base="string"
>
<xs:pattern
value="([0-9]{1,4}|[0-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5])(\.([0-9]{1,4}|[0-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5])){3}"
/>
</xs:restriction>
</xs:simpleType>
模式
下面的模式由 FourPartVersionType 简单类型定义:
([0-9]{1,4}|[0-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5])(\.([0-9]{1,4}|[0-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5])){3}
文件的版本由 N.N.N.N(其中 0 <= N < 65535)形式的、包含四个部分的编号定义。这些数字对应于 Major.Minor.Build.Revision。