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

Matthew Swift
16.00.2011 61be60eef8694b2c28386faf6dd2d7c4e842addd
opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldap/schema/EnhancedGuideSyntaxImpl.java
@@ -23,6 +23,7 @@
 *
 *
 *      Copyright 2009 Sun Microsystems, Inc.
 *      Portions copyright 2011 ForgeRock AS
 */
package org.forgerock.opendj.ldap.schema;
@@ -123,7 +124,8 @@
    try
    {
      SchemaUtils.readOID(new SubstringReader(ocName.substring(ocLength)));
      SchemaUtils.readOID(new SubstringReader(ocName.substring(ocLength)),
          schema.allowMalformedNamesAndOptions());
    }
    catch (final DecodeException de)
    {
@@ -176,6 +178,7 @@
      return false;
    }
    return GuideSyntaxImpl.criteriaIsValid(criteria, valueStr, invalidReason);
    return GuideSyntaxImpl.criteriaIsValid(schema, criteria,
        valueStr, invalidReason);
  }
}