Basic Type Validation Rules and Error Messages

Validation rules are enforced when mapping arguments and, in some cases, when you deploy the MBO to Unwired Server. Error or warning messages are generated when validation rules are violated.

Table 1. MBO basic type validation rules and error messages
Validation rule name Severity and message
ValidationRuleBinaryValue The default value '{0}' is not valid. It must follow Base64 encoding because it is Binary type.
ValidationRuleBooleanValue The default value '{0}' is not valid. It must be True" or "False". "
ValidationRuleDateTimeValue The default value '{0}' is not valid. It must follow the Datetime type defined in the XML standard. For example: 2001-10-26T21:32:52, 2001-10-26T21:32:52+02:00, and 2001-10-26T19:32:52Z.
ValidationRuleDateValue The default value '{0}' is not valid. It must follow the Date type in the XML standard. For example: 2001-10-26, 2001-10-26+02:00, and 2001-10-26Z. Or it must not contain an incorrect day for this month. For example: 2008-02-31.
ValidationRuleDecimalValue The default value '{0}' is not valid.
ValidationRuleDoubleValue The default value '{0}' is not valid.
ValidationRuleFloatValue The default value '{0}' is not valid.
ValidationRuleIntValue The default value '{0}' is not valid.
ValidationRuleLongValue The default value '{0}' is not valid.
ValidationRuleTimeValue The default value '{0}' is not valid. It must follow the Time type defined in the XML standard. For example: 21:32:52, 21:32:52+02:00, and 19:32:52Z.


Created September 17, 2009. Send feedback on this help topic to Sybase Technical Publications: pubs@sybase.com