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] Resolved: (DIRLDAP-26) Ldif file could have multi-lines atrribute values
Date Fri, 12 Aug 2005 04:04:54 GMT
     [ http://issues.apache.org/jira/browse/DIRLDAP-26?page=all ]
     
Alex Karasulu resolved DIRLDAP-26:
----------------------------------

    Resolution: Fixed

This was fixed a long time ago as can be seen by the contents of the following test case which
seems to pass.  

http://svn.apache.org/viewcvs.cgi/directory/shared/ldap/trunk/common/src/test/org/apache/ldap/common/ldif/LdifParserImplTest.java?rev=219580&view=markup

I must have added this test case an not closed this issue.

> 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
>     Assignee: Alex Karasulu
>     Priority: Critical
>      Fix For: 0.9.2

>
> 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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message