Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 19914 invoked from network); 22 Jul 2007 19:08:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 Jul 2007 19:08:49 -0000 Received: (qmail 55684 invoked by uid 500); 22 Jul 2007 19:08:50 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 55470 invoked by uid 500); 22 Jul 2007 19:08:50 -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 55459 invoked by uid 99); 22 Jul 2007 19:08:50 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 22 Jul 2007 12:08:50 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of elecharny@gmail.com designates 66.249.92.171 as permitted sender) Received: from [66.249.92.171] (HELO ug-out-1314.google.com) (66.249.92.171) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 22 Jul 2007 12:08:48 -0700 Received: by ug-out-1314.google.com with SMTP id a2so985553ugf for ; Sun, 22 Jul 2007 12:08:26 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=RrOEqxKtqigMSYEHTChYxN7DwCaS73YSlXlk6fUlW0fbISs6aGcI8uxoDC0HZaFVoymgDnM8wymAJf7VuB5ZMVXacLxeyR1Hf0k+U5nVXkvJDeb2jjhhJWpBmJWfCaNo3ruFTxx7foKnZsmqLO3QI3Ik8xrwASa+qjhQDngFQjA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=a+kVYe50SH3ZUgjx4TmFepH3DCLMluZp3dCirwRHD6+Y/NnAqsr6hY2NOxL/u3Nps6t2LpF9EOQXKjdXRkht6E2H6lD/MIER2j4OQNJlJF2h4/29IKz0uyQmdkNzR//ocynUCf/J/7MT1qehZAb1FXeavZgK+XmCKpalXr6NgUI= Received: by 10.78.171.13 with SMTP id t13mr569676hue.1185131306470; Sun, 22 Jul 2007 12:08:26 -0700 (PDT) Received: by 10.78.42.11 with HTTP; Sun, 22 Jul 2007 12:08:26 -0700 (PDT) Message-ID: Date: Sun, 22 Jul 2007 21:08:26 +0200 From: "Emmanuel Lecharny" Reply-To: elecharny@iktek.com To: "Apache Directory Developers List" Subject: Re: [LDAP] Request for ASN.1 REAL conversion to LDAP Syntax and MatchingRules In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: X-Virus-Checked: Checked by ClamAV on apache.org If there is no urgency, I think we just need a JIRA as a reminder... Writing a SC for float could be a PITA, so if we can differ it for a while, that would be perfect. On 7/22/07, Alex Karasulu wrote: > Hi all, > > I've been working on some prototypes of a mapping tool from Java to LDAP = and > back. The only really > sticky point I have for mapping simple primitive properties lies in the a= rea > of representing real values > in the directory. There is no real syntax in LDAP. Nor are there > matchingRules for attributes with this > syntax. ASN.1 defines an encoding for REAL data types here: > > > http://www.itu.int/ITU-T/studygroups/com17/languages/X.690-0207.pdf > > I'm going to move forward and just ignore Java floats and doubles for now= . > However I would really like > to devise a simple encoding for the base, and mantissa of these entities = to > be able to track them without > rounding errors due to their persistence in the directory. There's been = a > lot of conversation about this > topic but no one has actually stepped up and done it. Here's some links = to > these convos: > > > http://www.openldap.org/lists/openldap-bugs/200103/msg00065.html > > Does anyone think they can take a stab at writing an LDAP syntax > description for REAL numbers > and providing the required SyntaxChecker and matchingRules for it as well= ? > > Thanks, > Alex > > --=20 Regards, Cordialement, Emmanuel L=E9charny www.iktek.com