directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Karasulu (JIRA)" <directory-...@incubator.apache.org>
Subject [jira] Updated: (DIRLDAP-24) Ldif parser does not accept comments
Date Fri, 28 Jan 2005 16:19:17 GMT
     [ http://issues.apache.org/jira/browse/DIRLDAP-24?page=history ]

Alex Karasulu updated DIRLDAP-24:
---------------------------------

    Fix Version: 0.8.1

Excellent find! These are the kinds of bug reports that you can't put a price tag on.  I will
add the entire trial of bugs to the 0.8.1 bug fix release and get to work on them immediately.

If you need to get at the sources SVN is the only option at the moment.  This is because we
did not have an external release of 0.8 ldap-common with the release of the server.  The release
we internal.  Next time we should release all project to fix these issues people are having.
 

Great job Emmanuel - keep em comming!

Cheers,

Alex



> Ldif parser does not accept comments
> ------------------------------------
>
>          Key: DIRLDAP-24
>          URL: http://issues.apache.org/jira/browse/DIRLDAP-24
>      Project: Directory LDAP
>         Type: Bug
>   Components: Common
>     Versions: 0.8.0
>  Environment: Not relevant
>     Reporter: Emmanuel Lecharny
>     Assignee: Alex Karasulu
>      Fix For: 0.8.1

>
> LdifParserImpl class does not accept comments, as defined by RFC 2848, p.6, par. 3 :
> 	    try {
> 	        LdifParserImpl p = new LdifParserImpl();
> 	        LdifEntry entry = p.parse("#comment");
> 	        
> 	        System.out.println(entry.toString());
> 	    } catch (Exception e) {
> 	        System.out.println(e.getMessage());
> 	    }
> throws a LdapNamingException, with this message :
> org.apache.ldap.common.exception.LdapNamingException: Line 0 [# empty file] does not
correspond to an LDIF entry attribute value pair.
> {# empty file}
> I marked it Major even if a workaround could be to strip comments from ldif files, as
many of them contain comments.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


Mime
View raw message