directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <directory-...@incubator.apache.org>
Subject [jira] Created: (DIRLDAP-26) Ldif file could have multi-lines atrribute values
Date Thu, 27 Jan 2005 23:39:19 GMT
Ldif file could have multi-lines atrribute values
-------------------------------------------------

         Key: DIRLDAP-26
         URL: http://issues.apache.org/jira/browse/DIRLDAP-26
     Project: Directory LDAP
        Type: Bug
  Components: Common  
    Versions: 0.8.0    
 Environment: Not relevent
    Reporter: Emmanuel Lecharny
 Assigned to: Alex Karasulu 
    Priority: Critical


RFC 2849 states that an attribute value may be folded.

LdifParserImpl class does not accept it :

	    try {
	        LdifParserImpl p = new LdifParserImpl();

	        LdifEntry entry = p.parse("attr: this is a\n test");
	    } catch (Exception e) {
	        System.out.println(e.getMessage());
	    }

throws a LdapNamingException :
org.apache.ldap.common.exception.LdapNamingException: Line 0 [ test] does not correspond to
an LDIF entry attribute value pair.
{attr: this is a
 test}

-- 
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