Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 30572 invoked from network); 22 Mar 2008 14:59:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 Mar 2008 14:59:23 -0000 Received: (qmail 59132 invoked by uid 500); 22 Mar 2008 14:59:20 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 59096 invoked by uid 500); 22 Mar 2008 14:59:20 -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 59085 invoked by uid 99); 22 Mar 2008 14:59:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 22 Mar 2008 07:59:20 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 22 Mar 2008 14:58:50 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 8B81E234C09F for ; Sat, 22 Mar 2008 07:57:24 -0700 (PDT) Message-ID: <1551157956.1206197844570.JavaMail.jira@brutus> Date: Sat, 22 Mar 2008 07:57:24 -0700 (PDT) From: "David Montag (JIRA)" To: dev@directory.apache.org Subject: [jira] Updated: (DIRSERVER-1156) Syntax checker is brittle for integer syntaxes In-Reply-To: <1285477548.1206197724224.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DIRSERVER-1156?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] David Montag updated DIRSERVER-1156: ------------------------------------ Attachment: Car.java car-schema-2.ldif Schema and bug proof-of-concept. > Syntax checker is brittle for integer syntaxes > ---------------------------------------------- > > Key: DIRSERVER-1156 > URL: https://issues.apache.org/jira/browse/DIRSERVER-1156 > Project: Directory ApacheDS > Issue Type: Bug > Environment: Studio version 1.1.0.v20080303, ADS version 1.5.1 > Reporter: David Montag > Attachments: car-schema-2.ldif, Car.java > > > To reproduce, import the attached schema and then run the attached code. > It should produce: > javax.naming.directory.InvalidAttributeValueException: Malformed 'makeYear' attribute value; remaining name 'dc=car' > at com.sun.jndi.ldap.LdapClient.encodeAttribute(LdapClient.java:951) > at com.sun.jndi.ldap.LdapClient.add(LdapClient.java:999) > at com.sun.jndi.ldap.LdapCtx.c_createSubcontext(LdapCtx.java:770) > at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_createSubcontext(ComponentDirContext.java:319) > at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.createSubcontext(PartialCompositeDirContext.java:248) > at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.createSubcontext(PartialCompositeDirContext.java:236) > at javax.naming.directory.InitialDirContext.createSubcontext(InitialDirContext.java:178) > at Car.main(Car.java:106) > This issue was moved here from DIRSTUDIO-308. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.