You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Emmanuel Lecharny (JIRA)" <ji...@apache.org> on 2006/05/08 01:33:22 UTC

[jira] Commented: (DIRSERVER-187) Ldif files must begin with "version: 1"

    [ http://issues.apache.org/jira/browse/DIRSERVER-187?page=comments#action_12378346 ] 

Emmanuel Lecharny commented on DIRSERVER-187:
---------------------------------------------

A better solution will be to accept ldif files without a "version:" as being version 1 files.

> Ldif files must begin with "version: 1"
> ---------------------------------------
>
>          Key: DIRSERVER-187
>          URL: http://issues.apache.org/jira/browse/DIRSERVER-187
>      Project: Directory ApacheDS
>         Type: Improvement

>   Components: ldap
>  Environment: not relevant
>     Reporter: Emmanuel Lecharny
>     Assignee: Emmanuel Lecharny
>     Priority: Trivial

>
> RFC 2849 states that a ldif file must start with the 'version: 1' string. LdifParserImpl does accept files that don't respect this rule.
> It was marked Trivial as this is really not an issue : Microsoft(TM) ldifde.exe tool accept those kind of files (even worse : it does NOT accept files with a 'version: 1' string ...). I think that it should be an option, but at least, it should verify that the version number is '1', if present ! (p.5, par.1) 
> BTW, RFC2849 is not very clear on this subject, and could be interpreted as "If <version-spec> is absent, ..." instead of "If version number is absent..."

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