Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 43272 invoked from network); 17 Dec 2010 21:01:24 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 17 Dec 2010 21:01:24 -0000 Received: (qmail 97573 invoked by uid 500); 17 Dec 2010 21:01:24 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 97528 invoked by uid 500); 17 Dec 2010 21:01:24 -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 97521 invoked by uid 99); 17 Dec 2010 21:01:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Dec 2010 21:01:24 +0000 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.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Dec 2010 21:01:23 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oBHL13Mr004084 for ; Fri, 17 Dec 2010 21:01:03 GMT Message-ID: <2888478.185611292619663205.JavaMail.jira@thor> Date: Fri, 17 Dec 2010 16:01:03 -0500 (EST) From: "Nick Triantos (JIRA)" To: dev@directory.apache.org Subject: [jira] Commented: (DIRSTUDIO-714) Parse failure if description contains single quote In-Reply-To: <14471157.184711292617440961.JavaMail.jira@thor> 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/DIRSTUDIO-714?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12972648#action_12972648 ] Nick Triantos commented on DIRSTUDIO-714: ----------------------------------------- Thanks so much. I filed a bug with the OpenDS folks: https://opends.dev.java.net/issues/show_bug.cgi?id=4594 > Parse failure if description contains single quote > -------------------------------------------------- > > Key: DIRSTUDIO-714 > URL: https://issues.apache.org/jira/browse/DIRSTUDIO-714 > Project: Directory Studio > Issue Type: Bug > Components: studio-schemaeditor > Affects Versions: 1.5.3 > Environment: Using Dir Studio on Mac OS X (doubt that matters). > Reporter: Nick Triantos > > I was trying to import the schema from our OpenDS server. I received a parse failure error. I think it's due to the description containing a single quote character (') which is not being escaped. > To test this, set up a default OpenDS server, and try to use Dir Studio to edit its schema. > The failure I see is: > null > - Parser failure on attribute type description > java.text.ParseException: Parser failure on attribute type description: > ( 2.16.840.1.113730.3.1.35 NAME 'changelog' DESC 'the distinguished name of the entry which contains the set of entries comprising this server's changelog' EQUALITY distinguishedNameMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.12 SINGLE-VALUE NO-USER-MODIFICATION USAGE directoryOperation X-ORIGIN 'draft-good-ldap-changelog' ) > Antlr message: unexpected char: 's' > at org.apache.directory.shared.ldap.schema.parsers.AttributeTypeDescriptionSchemaParser.parseAttributeTypeDescription(AttributeTypeDescriptionSchemaParser.java:108) > at org.apache.directory.studio.schemaeditor.model.io.GenericSchemaConnector.getSchema(GenericSchemaConnector.java:204) > at org.apache.directory.studio.schemaeditor.model.io.GenericSchemaConnector.importSchema(GenericSchemaConnector.java:104) > at org.apache.directory.studio.schemaeditor.model.Project.fetchOnlineSchema(Project.java:251) > at org.apache.directory.studio.schemaeditor.view.wizards.NewProjectWizard$1.run(NewProjectWizard.java:143) > at org.apache.directory.studio.connection.ui.RunnableContextRunner$1.run(RunnableContextRunner.java:123) > at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121) > Parser failure on attribute type description: > ( 2.16.840.1.113730.3.1.35 NAME 'changelog' DESC 'the distinguished name of the entry which contains the set of entries comprising this server's changelog' EQUALITY distinguishedNameMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.12 SINGLE-VALUE NO-USER-MODIFICATION USAGE directoryOperation X-ORIGIN 'draft-good-ldap-changelog' ) > Antlr message: unexpected char: 's' -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.