Return-Path: X-Original-To: apmail-directory-dev-archive@www.apache.org Delivered-To: apmail-directory-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8BD0A11D02 for ; Fri, 13 Jun 2014 23:12:02 +0000 (UTC) Received: (qmail 63350 invoked by uid 500); 13 Jun 2014 23:12:02 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 63250 invoked by uid 500); 13 Jun 2014 23:12:02 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 63136 invoked by uid 99); 13 Jun 2014 23:12:02 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Jun 2014 23:12:02 +0000 Date: Fri, 13 Jun 2014 23:12:02 +0000 (UTC) From: "Emmanuel Lecharny (JIRA)" To: dev@directory.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (DIRAPI-67) Parsers and generators of OpenLDAP code (RFC 4512) for Schema Objects does not support escaped strings in the description MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DIRAPI-67?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Emmanuel Lecharny resolved DIRAPI-67. ------------------------------------- Resolution: Fixed Fixed with http://svn.apache.org/r1602537 > Parsers and generators of OpenLDAP code (RFC 4512) for Schema Objects does not support escaped strings in the description > ------------------------------------------------------------------------------------------------------------------------- > > Key: DIRAPI-67 > URL: https://issues.apache.org/jira/browse/DIRAPI-67 > Project: Directory Client API > Issue Type: Bug > Affects Versions: 1.0.0-M8 > Reporter: Pierre-Arnaud Marcelot > Priority: Critical > Fix For: 1.0.0-RC1 > > > The parsers for OpenLDAP code (RFC 4512) for SchemaObjects does not support having an escaped string using "\'". > Same thing for the generators which does not automatically escape a string containing a ' (quote) character when it's used in the description. > Furthermore, there seem to be 2 different classes generating OpenLDAP code: > - /shared-ldap-model/src/main/java/org/apache/directory/shared/ldap/model/schema/DescriptionUtils.java > - /shared-ldap-model/src/main/java/org/apache/directory/shared/ldap/model/schema/SchemaUtils.java > We should verify if a single one couldn't be used instead. -- This message was sent by Atlassian JIRA (v6.2#6252)