Issue Details (XML | Word | Printable)

Key: DIRSERVER-199
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Critical Critical
Assignee: Alex Karasulu
Reporter: Emmanuel Lecharny
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Directory ApacheDS

Ldif file could have multi-lines atrribute values

Created: 28/Jan/05 08:36 AM   Updated: 24/Jun/06 08:58 PM
Return to search
Component/s: ldap
Affects Version/s: pre-1.0
Fix Version/s: pre-1.0

Time Tracking:
Not Specified

Environment: Not relevent

Resolution Date: 12/Aug/05 01:04 PM


 Description  « Hide
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}

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
There are no subversion log entries for this issue yet.