directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <>
Subject [jira] Created: (DIRLDAP-24) Ldif parser does not accept comments
Date Thu, 27 Jan 2005 23:18:17 GMT
Ldif parser does not accept comments

         Key: DIRLDAP-24
     Project: Directory LDAP
        Type: Bug
  Components: Common  
    Versions: 0.8.0    
 Environment: Not relevant
    Reporter: Emmanuel Lecharny
 Assigned to: Alex Karasulu 

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");
	    } catch (Exception e) {

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:
If you want more information on JIRA, or have a bug to report see:

View raw message