[ http://issues.apache.org/jira/browse/DIRSERVER-199?page=all ] Emmanuel Lecharny closed DIRSERVER-199: ---------------------------------------
Fixed with the rewrote of LdifParser > Ldif file could have multi-lines atrribute values > ------------------------------------------------- > > Key: DIRSERVER-199 > URL: http://issues.apache.org/jira/browse/DIRSERVER-199 > Project: Directory ApacheDS > Type: Bug > Components: ldap > Versions: pre-1.0 > Environment: Not relevent > Reporter: Emmanuel Lecharny > Assignee: Alex Karasulu > Priority: Critical > Fix For: pre-1.0 > > 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
