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/08/26 12:58:23 UTC
[jira] Resolved: (DIRSERVER-187) Ldif files must begin with
"version: 1"
[ http://issues.apache.org/jira/browse/DIRSERVER-187?page=all ]
Emmanuel Lecharny resolved DIRSERVER-187.
-----------------------------------------
Resolution: Fixed
The version default to 1 if the "version :" is absent from the file.
> Ldif files must begin with "version: 1"
> ---------------------------------------
>
> Key: DIRSERVER-187
> URL: http://issues.apache.org/jira/browse/DIRSERVER-187
> Project: Directory ApacheDS
> Issue Type: Improvement
> Components: ldap
> Environment: not relevant
> Reporter: Emmanuel Lecharny
> Assigned To: 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