The distinction is that often when doing validation, the list or range of possible values is smaller than the list of invalid values, many of which can be unknown or unexpected.
两者之间的区别是,通常在进行验证时,可能值的列表或范围小于无效值的列表或范围,其中许多值可能是未知值或意外值。
Validation of the base enumeration list is done by the parser.
用解析器对基本枚举列表进行验证。
Although embedding the lists directly in the schema provided easy validation, when a code changed in the list, the schema had to be updated.
虽然将清单直接嵌入到模式中可以简化验证过程,但是当清单中一个代码发生变化时,这个模式就必须更新。
应用推荐