| | |
| | | { |
| | | if (lastWasPeriod) |
| | | { |
| | | |
| | | invalidReason.append( |
| | | ERR_ATTR_SYNTAX_MR_DOUBLE_PERIOD_IN_NUMERIC_OID.get( |
| | | valueStr, (pos-1))); |
| | |
| | | // description. Otherwise, parse out the OID. |
| | | if (pos >= length) |
| | | { |
| | | |
| | | invalidReason.append(ERR_ATTR_SYNTAX_MR_TRUNCATED_VALUE.get(valueStr)); |
| | | return false; |
| | | } |
| | |
| | | // We must be at the end of the value. If not, then that's a problem. |
| | | if (pos < length) |
| | | { |
| | | |
| | | invalidReason.append( |
| | | ERR_ATTR_SYNTAX_MR_UNEXPECTED_CLOSE_PARENTHESIS.get( |
| | | valueStr, (pos-1))); |
| | |
| | | // Make sure that a syntax was specified. |
| | | if (syntax == null) |
| | | { |
| | | |
| | | invalidReason.append(ERR_ATTR_SYNTAX_MR_NO_SYNTAX.get(valueStr)); |
| | | return false; |
| | | } |