Apache Directory Project - [jira] Closed: (DIRSERVER-199) Ldif file could have multi-lines

This is Interesting: Free IT Magazines  
Home > Archive > Apache Directory Project > June 2006 > [jira] Closed: (DIRSERVER-199) Ldif file could have multi-lines





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author [jira] Closed: (DIRSERVER-199) Ldif file could have multi-lines
Emmanuel Lecharny (JIRA)

2006-06-24, 1:11 pm

[ http://issues.apache.org/jira/brows...ER-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/secur...nistrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com