mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

jvergara
13.25.2007 51d5368fa0a89f1eeac8b62b3a2ea97011779abe
Fix for issue 1730.

In the error messages quote the values that are causing problems to help the user identify proble
ms with trailing spaces.

2 files modified
145 ■■■■ changed files
opends/src/messages/messages/schema.properties 143 ●●●● patch | view | raw | blame | history
opends/src/messages/messages/utility.properties 2 ●●● patch | view | raw | blame | history
opends/src/messages/messages/schema.properties
@@ -63,142 +63,143 @@
 substring matching rule %s used as the default for the %s attribute syntax. \
 Substring matching will not be allowed by default for attributes with this \
 syntax
SEVERE_WARN_ATTR_SYNTAX_ILLEGAL_BOOLEAN_5=The provided value %s is not \
SEVERE_WARN_ATTR_SYNTAX_ILLEGAL_BOOLEAN_5=The provided value "%s" is not \
 allowed for attributes with a Boolean syntax.  The only allowed values are \
 'TRUE' and 'FALSE'
SEVERE_WARN_ATTR_SYNTAX_BIT_STRING_TOO_SHORT_6=The provided value %s is too \
SEVERE_WARN_ATTR_SYNTAX_BIT_STRING_TOO_SHORT_6=The provided value "%s" is too \
 short to be a valid bit string.  A bit string must be a series of binary \
 digits surrounded by single quotes and followed by a capital letter B
SEVERE_WARN_ATTR_SYNTAX_BIT_STRING_NOT_QUOTED_7=The provided value %s is not \
SEVERE_WARN_ATTR_SYNTAX_BIT_STRING_NOT_QUOTED_7=The provided value "%s" is not \
 a valid bit string because it is not surrounded by single quotes and followed \
 by a capital letter B
SEVERE_WARN_ATTR_SYNTAX_BIT_STRING_INVALID_BIT_8=The provided value %s is not \
 a valid bit string because %s is not a valid binary digit
MILD_ERR_ATTR_SYNTAX_COUNTRY_STRING_INVALID_LENGTH_9=The provided value %s is \
 not a valid country string because the length is not exactly two characters
MILD_ERR_ATTR_SYNTAX_COUNTRY_STRING_NOT_PRINTABLE_10=The provided value %s is \
 not a valid country string because it contains one or more non-printable \
SEVERE_WARN_ATTR_SYNTAX_BIT_STRING_INVALID_BIT_8=The provided value "%s" is \
 not a valid bit string because '%s' is not a valid binary digit
MILD_ERR_ATTR_SYNTAX_COUNTRY_STRING_INVALID_LENGTH_9=The provided value "%s" \
 is not a valid country string because the length is not exactly two characters
MILD_ERR_ATTR_SYNTAX_COUNTRY_STRING_NOT_PRINTABLE_10=The provided value "%s" \
 is not a valid country string because it contains one or more non-printable \
 characters
MILD_ERR_ATTR_SYNTAX_DELIVERY_METHOD_NO_ELEMENTS_11=The provided value %s is \
MILD_ERR_ATTR_SYNTAX_DELIVERY_METHOD_NO_ELEMENTS_11=The provided value "%s" is \
 not a valid delivery method value because it does not contain any elements
MILD_ERR_ATTR_SYNTAX_DELIVERY_METHOD_INVALID_ELEMENT_12=The provided value %s \
 is not a valid delivery method value because %s is not a valid method
SEVERE_WARN_ATTR_SYNTAX_GENERALIZED_TIME_TOO_SHORT_13=The provided value %s \
MILD_ERR_ATTR_SYNTAX_DELIVERY_METHOD_INVALID_ELEMENT_12=The provided value \
 "%s" is not a valid delivery method value because "%s" is not a valid method
SEVERE_WARN_ATTR_SYNTAX_GENERALIZED_TIME_TOO_SHORT_13=The provided value "%s" \
 is too short to be a valid generalized time value
SEVERE_WARN_ATTR_SYNTAX_GENERALIZED_TIME_INVALID_YEAR_14=The provided value \
 %s is not a valid generalized time value because the %s character is not \
 "%s" is not a valid generalized time value because the '%s' character is not \
 allowed in the century or year specification
SEVERE_WARN_ATTR_SYNTAX_GENERALIZED_TIME_INVALID_MONTH_15=The provided value \
 %s is not a valid generalized time value because %s is not a valid month \
 "%s" is not a valid generalized time value because "%s" is not a valid month \
 specification
SEVERE_WARN_ATTR_SYNTAX_GENERALIZED_TIME_INVALID_DAY_16=The provided value %s \
 is not a valid generalized time value because %s is not a valid day \
SEVERE_WARN_ATTR_SYNTAX_GENERALIZED_TIME_INVALID_DAY_16=The provided value \
 "%s" is not a valid generalized time value because "%s" is not a valid day \
 specification
SEVERE_WARN_ATTR_SYNTAX_GENERALIZED_TIME_INVALID_HOUR_17=The provided value \
 %s is not a valid generalized time value because %s is not a valid hour \
 "%s" is not a valid generalized time value because "%s" is not a valid hour \
 specification
SEVERE_WARN_ATTR_SYNTAX_GENERALIZED_TIME_INVALID_MINUTE_18=The provided value \
 %s is not a valid generalized time value because %s is not a valid minute \
 "%s" is not a valid generalized time value because "%s" is not a valid minute \
 specification
SEVERE_WARN_ATTR_SYNTAX_GENERALIZED_TIME_INVALID_SECOND_19=The provided value \
 %s is not a valid generalized time value because %s is not a valid second \
 "%s" is not a valid generalized time value because "%s" is not a valid second \
 specification
SEVERE_WARN_ATTR_SYNTAX_GENERALIZED_TIME_INVALID_SUBSECOND_20=The provided \
 value %s is not a valid generalized time value because the sub-second \
 value "%s" is not a valid generalized time value because the sub-second \
 component is not valid (between 1 and 3 numeric digits)
SEVERE_WARN_ATTR_SYNTAX_GENERALIZED_TIME_LONG_SUBSECOND_21=The provided value \
 %s is not a valid generalized time value because the sub-second value may not \
 contain more than three digits
 "%s" is not a valid generalized time value because the sub-second value may \
 not contain more than three digits
SEVERE_WARN_ATTR_SYNTAX_GENERALIZED_TIME_INVALID_OFFSET_22=The provided value \
 %s is not a valid generalized time value because %s is not a valid GMT offset
 "%s" is not a valid generalized time value because "%s" is not a valid GMT \
 offset
SEVERE_WARN_ATTR_SYNTAX_GENERALIZED_TIME_INVALID_CHAR_23=The provided value \
 %s is not a valid generalized time value because it contains an invalid \
 character %s at position %d
 "%s" is not a valid generalized time value because it contains an invalid \
 character '%s' at position %d
SEVERE_WARN_ATTR_SYNTAX_GENERALIZED_TIME_CANNOT_PARSE_24=The provided value \
 %s could not be parsed as a valid generalized time:  %s
MILD_ERR_ATTR_SYNTAX_DN_INVALID_25=The provided value %s could not be parsed \
 "%s" could not be parsed as a valid generalized time:  %s
MILD_ERR_ATTR_SYNTAX_DN_INVALID_25=The provided value "%s" could not be parsed \
 as a valid distinguished name:  %s
MILD_ERR_ATTR_SYNTAX_DN_END_WITH_COMMA_26=The provided value %s could not be \
MILD_ERR_ATTR_SYNTAX_DN_END_WITH_COMMA_26=The provided value "%s" could not be \
 parsed as a valid distinguished name because the last non-space character was \
 a comma or semicolon
MILD_ERR_ATTR_SYNTAX_DN_ATTR_START_WITH_DIGIT_27=The provided value %s could \
 not be parsed as a valid distinguished name because numeric digit %s is not \
MILD_ERR_ATTR_SYNTAX_DN_ATTR_START_WITH_DIGIT_27=The provided value "%s" could \
 not be parsed as a valid distinguished name because numeric digit '%s' is not \
 allowed as the first character in an attribute name
MILD_ERR_ATTR_SYNTAX_DN_ATTR_ILLEGAL_CHAR_28=The provided value %s could not \
 be parsed as a valid distinguished name because character %c at position %d \
MILD_ERR_ATTR_SYNTAX_DN_ATTR_ILLEGAL_CHAR_28=The provided value "%s" could not \
 be parsed as a valid distinguished name because character '%c' at position %d \
 is not allowed in an attribute name
MILD_ERR_ATTR_SYNTAX_DN_ATTR_ILLEGAL_UNDERSCORE_CHAR_29=The provided value %s \
 could not be parsed as a valid distinguished name because the underscore \
 character is not allowed in an attribute name unless the %s  configuration \
MILD_ERR_ATTR_SYNTAX_DN_ATTR_ILLEGAL_UNDERSCORE_CHAR_29=The provided value \
 "%s" could not be parsed as a valid distinguished name because the underscore \
 character is not allowed in an attribute name unless the %s configuration \
 option is enabled
MILD_ERR_ATTR_SYNTAX_DN_ATTR_ILLEGAL_INITIAL_DASH_30=The provided value %s \
MILD_ERR_ATTR_SYNTAX_DN_ATTR_ILLEGAL_INITIAL_DASH_30=The provided value "%s" \
 could not be parsed as a valid distinguished name because the hyphen \
 character is not allowed as the first character of an attribute name
MILD_ERR_ATTR_SYNTAX_DN_ATTR_ILLEGAL_INITIAL_UNDERSCORE_31=The provided value \
 %s could not be parsed as a valid distinguished name because the underscore \
 "%s" could not be parsed as a valid distinguished name because the underscore \
 character is not allowed as the first character of an attribute name even if \
 the %s configuration option is enabled
MILD_ERR_ATTR_SYNTAX_DN_ATTR_ILLEGAL_INITIAL_DIGIT_32=The provided value %s \
 could not be parsed as a valid distinguished name because the digit %c is not \
 allowed allowed as the first character of an attribute name unless the name \
 is specified as an OID or the %s  configuration option is enabled
MILD_ERR_ATTR_SYNTAX_DN_ATTR_NO_NAME_33=The provided value %s could not be \
MILD_ERR_ATTR_SYNTAX_DN_ATTR_ILLEGAL_INITIAL_DIGIT_32=The provided value "%s" \
 could not be parsed as a valid distinguished name because the digit '%c' is \
 not allowed allowed as the first character of an attribute name unless the \
 name is specified as an OID or the %s configuration option is enabled
MILD_ERR_ATTR_SYNTAX_DN_ATTR_NO_NAME_33=The provided value "%s" could not be \
 parsed as a valid distinguished name because it contained an RDN containing \
 an empty attribute name
MILD_ERR_ATTR_SYNTAX_DN_ATTR_ILLEGAL_PERIOD_34=The provided value %s could \
MILD_ERR_ATTR_SYNTAX_DN_ATTR_ILLEGAL_PERIOD_34=The provided value "%s" could \
 not be parsed as a valid distinguished name because the parsed attribute name \
 %s included a period but that name did not appear to be a valid OID
MILD_ERR_ATTR_SYNTAX_DN_END_WITH_ATTR_NAME_35=The provided value %s could not \
 be parsed as a valid distinguished name because the last non-space character \
 was part of the attribute name %s
MILD_ERR_ATTR_SYNTAX_DN_NO_EQUAL_36=The provided value %s could not be parsed \
 as a valid distinguished name because the next non-space character after \
 attribute name %s should have been an equal sign but instead was %c
MILD_ERR_ATTR_SYNTAX_DN_INVALID_CHAR_37=The provided value %s could not be \
 parsed as a valid distinguished name because character %c at position %d is \
MILD_ERR_ATTR_SYNTAX_DN_END_WITH_ATTR_NAME_35=The provided value "%s" could \
 not be parsed as a valid distinguished name because the last non-space \
 character was part of the attribute name '%s'
MILD_ERR_ATTR_SYNTAX_DN_NO_EQUAL_36=The provided value "%s" could not be \
 parsed as a valid distinguished name because the next non-space character \
 after attribute name "%s" should have been an equal sign but instead was '%c'
MILD_ERR_ATTR_SYNTAX_DN_INVALID_CHAR_37=The provided value "%s" could not be \
 parsed as a valid distinguished name because character '%c' at position %d is \
 not valid
MILD_ERR_ATTR_SYNTAX_DN_HEX_VALUE_TOO_SHORT_38=The provided value %s could \
MILD_ERR_ATTR_SYNTAX_DN_HEX_VALUE_TOO_SHORT_38=The provided value "%s" could \
 not be parsed as a valid distinguished name because an attribute value \
 started with an octothorpe (#) but was not followed by a positive multiple of \
 two hexadecimal digits
MILD_ERR_ATTR_SYNTAX_DN_INVALID_HEX_DIGIT_39=The provided value %s could not \
MILD_ERR_ATTR_SYNTAX_DN_INVALID_HEX_DIGIT_39=The provided value "%s" could not \
 be parsed as a valid distinguished name because an attribute value started \
 with an octothorpe (#) but contained a character %c that was not a valid \
 hexadecimal digit
MILD_ERR_ATTR_SYNTAX_DN_ATTR_VALUE_DECODE_FAILURE_40=The provided value %s \
MILD_ERR_ATTR_SYNTAX_DN_ATTR_VALUE_DECODE_FAILURE_40=The provided value "%s" \
 could not be parsed as a valid distinguished name because an unexpected \
 failure occurred while attempting to parse an attribute value from one of the \
 RDN components:  %s
MILD_ERR_ATTR_SYNTAX_DN_UNMATCHED_QUOTE_41=The provided value %s could not be \
 parsed as a valid distinguished name because one of the RDN components \
 RDN components:  "%s"
MILD_ERR_ATTR_SYNTAX_DN_UNMATCHED_QUOTE_41=The provided value "%s" could not \
 be parsed as a valid distinguished name because one of the RDN components \
 included a quoted value that did not have a corresponding closing quotation \
 mark
MILD_ERR_ATTR_SYNTAX_DN_ESCAPED_HEX_VALUE_INVALID_42=The provided value %s \
MILD_ERR_ATTR_SYNTAX_DN_ESCAPED_HEX_VALUE_INVALID_42=The provided value "%s" \
 could not be parsed as a valid distinguished name because one of the RDN \
 components included a value with an escaped hexadecimal digit that was not \
 followed by a second hexadecimal digit
SEVERE_WARN_ATTR_SYNTAX_INTEGER_INITIAL_ZERO_43=The provided value %s could \
SEVERE_WARN_ATTR_SYNTAX_INTEGER_INITIAL_ZERO_43=The provided value "%s" could \
 not be parsed as a valid integer because the first digit may not be zero \
 unless it is the only digit
SEVERE_WARN_ATTR_SYNTAX_INTEGER_MISPLACED_DASH_44=The provided value %s could \
 not be parsed as a valid integer because the dash may only appear if it is \
 the first character of the value followed by one or more digits
SEVERE_WARN_ATTR_SYNTAX_INTEGER_INVALID_CHARACTER_45=The provided value %s \
 could not be parsed as a valid integer because character %c at position %d is \
 not allowed in an integer value
SEVERE_WARN_ATTR_SYNTAX_INTEGER_EMPTY_VALUE_46=The provided value %s could \
SEVERE_WARN_ATTR_SYNTAX_INTEGER_MISPLACED_DASH_44=The provided value "%s" \
 could not be parsed as a valid integer because the dash may only appear if it \
 is the first character of the value followed by one or more digits
SEVERE_WARN_ATTR_SYNTAX_INTEGER_INVALID_CHARACTER_45=The provided value "%s" \
 could not be parsed as a valid integer because character '%c' at position %d \
 is not allowed in an integer value
SEVERE_WARN_ATTR_SYNTAX_INTEGER_EMPTY_VALUE_46=The provided value "%s" could \
 not be parsed as a valid integer because it did not contain any digits
SEVERE_WARN_ATTR_SYNTAX_INTEGER_DASH_NEEDS_VALUE_47=The provided value %s \
SEVERE_WARN_ATTR_SYNTAX_INTEGER_DASH_NEEDS_VALUE_47=The provided value "%s" \
 could not be parsed as a valid integer because it contained only a dash not \
 followed by an integer value
MILD_ERR_ATTR_SYNTAX_OID_NO_VALUE_48=The provided value could not be parsed \
 as a valid OID because it did not contain any characters
MILD_ERR_ATTR_SYNTAX_OID_ILLEGAL_CHARACTER_49=The provided value %s could not \
MILD_ERR_ATTR_SYNTAX_OID_ILLEGAL_CHARACTER_49=The provided value "%s" could not \
 be parsed as a valid OID because it had an illegal character at position %d
MILD_ERR_ATTR_SYNTAX_OID_CONSECUTIVE_PERIODS_50=The provided value %s could \
MILD_ERR_ATTR_SYNTAX_OID_CONSECUTIVE_PERIODS_50=The provided value "%s" could \
 not be parsed as a valid OID because it had two consecutive periods at or \
 near position %d
MILD_ERR_ATTR_SYNTAX_OID_ENDS_WITH_PERIOD_51=The provided value %s could not \
MILD_ERR_ATTR_SYNTAX_OID_ENDS_WITH_PERIOD_51=The provided value "%s" could not \
 be parsed as a valid OID because it ends with a period
MILD_ERR_ATTR_SYNTAX_ATTRTYPE_EMPTY_VALUE_52=The provided value could not be \
 parsed as a valid attribute type description because it was empty or \
opends/src/messages/messages/utility.properties
@@ -409,7 +409,7 @@
SEVERE_ERR_EXPCHECK_TRUSTMGR_SERVER_CERT_NOT_YET_VALID_162=Refusing to trust \
 server or issuer certificate '%s' because it is not valid until %s
MILD_WARN_LDIF_VALUE_VIOLATES_SYNTAX_163=Entry %s read from LDIF starting at \
 line %d includes value '%s' for attribute %s that is invalid according to the \
 line %d includes value "%s" for attribute %s that is invalid according to the \
 associated syntax:  %s
SEVERE_ERR_SKIP_FILE_EXISTS_164=The specified skip file %s already exists and \
 the import configuration indicates that no attempt should be made to append \