From ff10d91cb881c3c0d5529491cf160044496b5e87 Mon Sep 17 00:00:00 2001 From: Ludovic Poitou <ludovic.poitou@forgerock.com> Date: Thu, 03 Feb 2011 11:49:44 +0000 Subject: [PATCH] Fix OPENDJ-27 : schema parsing fails with extensions on syntaxes. --- opends/src/messages/messages/schema.properties | 45 +++++++++++++++++++++++++++++++++++++++++++-- 1 files changed, 43 insertions(+), 2 deletions(-) diff --git a/opends/src/messages/messages/schema.properties b/opends/src/messages/messages/schema.properties index ac0c7c2..8eb9d3e 100644 --- a/opends/src/messages/messages/schema.properties +++ b/opends/src/messages/messages/schema.properties @@ -21,7 +21,7 @@ # CDDL HEADER END # # Copyright 2006-2010 Sun Microsystems, Inc. - +# Portions Copyright 2011 ForgeRock AS # @@ -994,7 +994,7 @@ MILD_WARN_ATTR_LDAP_SYNTAX_ILLEGAL_CHAR_IN_OID_305=The provided value "%s" \ could not be parsed as an ldap syntax because the OID contained an illegal \ character %s at position %d -MILD_WARN_ATTR_SYNTAX_LDAPSYNTAX_UNKNOWN_EXT_306=The provided value "%s" \ +MILD_ERR_ATTR_SYNTAX_LDAPSYNTAX_UNKNOWN_EXT_306=The provided value "%s" \ could not be parsed as an ldap syntax because it contains an unrecognized \ extension %s at position %d MILD_WARN_ATTR_SYNTAX_LDAPSYNTAX_REGEX_INVALID_VALUE_307=The provided value \ @@ -1026,3 +1026,44 @@ MILD_WARN_ATTR_DUPLICATE_HOUR_ASSERTION_FORMAT_316=The provided \ value "%s" could not be parsed as a valid assertion value because there is \ conflicting value "%d" for h(Hour) specification +MILD_ERR_ATTR_SYNTAX_LDAPSYNTAX_EMPTY_VALUE_317=The provided value could not \ + be parsed as a valid ldap syntax description because it was empty or \ + contained only whitespace +MILD_ERR_ATTR_SYNTAX_LDAPSYNTAX_EXPECTED_OPEN_PARENTHESIS_318=The provided \ + value "%s" could not be parsed as an ldap syntax description because an \ + open parenthesis was expected at position %d but instead a '%s' character was \ + found +MILD_ERR_ATTR_SYNTAX_LDAPSYNTAX_TRUNCATED_VALUE_319=The provided value "%s" \ + could not be parsed as an ldap syntax description because the end of the \ + value was encountered while the Directory Server expected more data to be \ + provided +MILD_ERR_ATTR_SYNTAX_LDAPSYNTAX_DOUBLE_PERIOD_IN_NUMERIC_OID_320=The provided \ + value "%s" could not be parsed as an ldap syntax description because the \ + numeric OID contained two consecutive periods at position %d +MILD_ERR_ATTR_SYNTAX_LDAPSYNTAX_ILLEGAL_CHAR_IN_NUMERIC_OID_321=The provided \ + value "%s" could not be parsed as an ldap syntax description because the \ + numeric OID contained an illegal character %s at position %d +MILD_ERR_ATTR_SYNTAX_LDAPSYNTAX_ILLEGAL_CHAR_IN_STRING_OID_322=The provided \ + value "%s" could not be parsed as an ldap syntax description because the \ + non-numeric OID contained an illegal character %s at position %d +MILD_ERR_ATTR_SYNTAX_LDAPSYNTAX_UNEXPECTED_CLOSE_PARENTHESIS_323=The provided \ + value "%s" could not be parsed as an ldap syntax description because it \ + contained an unexpected closing parenthesis at position %d +MILD_ERR_ATTR_SYNTAX_LDAPSYNTAX_TOO_MANY_EXTENSIONS_324=The provided value \ + "%s" could not be parsed as an ldap syntax description because it contains \ + more than one form of constructor +MILD_ERR_ATTR_SYNTAX_LDAPSYNTAX_UNKNOWN_SYNTAX_325=The definition for the \ + ldap syntax with OID %s declared that it's a substitute for a syntax with \ + OID %s. No such syntax is configured for use in the Directory Server +MILD_ERR_ATTR_SYNTAX_LDAPSYNTAX_ENUM_NO_VALUES_326=The provided value "%s" \ + could not be parsed as an enumeration syntax, because there is no value +MILD_ERR_ATTR_SYNTAX_LDAPSYNTAX_EXTENSION_INVALID_CHARACTER_327=The provided \ + value "%s" could not be parsed as an ldap syntax extension because an \ + invalid character was found at position %d +MILD_ERR_ATTR_SYNTAX_LDAPSYNTAX_EXPECTED_CLOSE_PARENTHESIS_328=The provided \ + value "%s" could not be parsed as an ldap syntax description because a \ + close parenthesis was expected at position %d but instead a '%s' character \ + was found +MILD_ERR_ATTR_SYNTAX_LDAPSYNTAX_EXPECTED_QUOTE_AT_POS_329=The provided value \ + "%s" could not be parsed as an ldap syntax description because a single \ + quote was expected at position %d but the character %s was found instead -- Gitblit v1.10.0