Apache Directory Project - [jira] Closed: (DIRSERVER-242) Ldif parser does not accept comments

This is Interesting: Free IT Magazines  
Home > Archive > Apache Directory Project > June 2006 > [jira] Closed: (DIRSERVER-242) Ldif parser does not accept comments





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-242) Ldif parser does not accept comments
Emmanuel Lecharny (JIRA)

2006-06-24, 1:11 pm

[ http://issues.apache.org/jira/brows...ER-242?page=all ]

Emmanuel Lecharny closed DIRSERVER-242:
---------------------------------------


done

> Ldif parser does not accept comments
> ------------------------------------
>
> Key: DIRSERVER-242
> URL: http://issues.apache.org/jira/browse/DIRSERVER-242
> Project: Directory ApacheDS
> Type: Bug


> Components: ldap
> Versions: pre-1.0
> Environment: Not relevant
> Reporter: Emmanuel Lecharny
> Assignee: Alex Karasulu
> Fix For: pre-1.0


>
> LdifParserImpl class does not accept comments, as defined by RFC 2848, p.6, par. 3 :
> try {
> LdifParserImpl p = new LdifParserImpl();
> LdifEntry entry = p.parse("#comment");
>
> System.out.println(entry.toString());
> } catch (Exception e) {
> System.out.println(e.getMessage());
> }
> throws a LdapNamingException, with this message :
> org.apache.ldap.common.exception.LdapNamingException: Line 0 [# empty file] does not correspond to an LDIF entry attribute value pair.
> {# empty file}
> I marked it Major even if a workaround could be to strip comments from ldif files, as many of them contain comments.


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