From 1a990d339cac38fa16ab66db896ebdaede6dcdb8 Mon Sep 17 00:00:00 2001
From: Matthew Swift <matthew.swift@forgerock.com>
Date: Fri, 17 Jun 2011 13:18:56 +0000
Subject: [PATCH] Allow "." and "_" in non-numeric OIDs by default as these are used by collation rules in OpenDJ.

---
 opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldap/schema/Schema.java |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldap/schema/Schema.java b/opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldap/schema/Schema.java
index 9fc4a13..a344c19 100644
--- a/opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldap/schema/Schema.java
+++ b/opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldap/schema/Schema.java
@@ -1899,14 +1899,16 @@
   /**
    * Returns {@code true} if this schema allows certain illegal characters
    * in OIDs and attribute options. When this compatibility option is set to
-   * {@code true} the following illegal characters will be permitted:
+   * {@code true} the following illegal characters will be permitted in addition
+   * to those permitted in section 1.4 of RFC 4512:
    *
    * <pre>
    * USCORE  = %x5F ; underscore ("_")
    * DOT     = %x2E ; period (".")
    * </pre>
    *
-   * By default this compatibility option is set to {@code false}.
+   * By default this compatibility option is set to {@code true} because these
+   * characters are often used for naming purposes (such as collation rules).
    *
    * @return {@code true} if this schema allows certain illegal characters
    *         in OIDs and attribute options.

--
Gitblit v1.10.0