Uploaded image for project: 'Directory ApacheDS'
  1. Directory ApacheDS
  2. DIRSERVER-199

Ldif file could have multi-lines atrribute values

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • pre-1.0
    • pre-1.0
    • ldap
    • None
    • Not relevent

    Description

      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}

      Attachments

        Activity

          People

            akarasulu Alex Karasulu
            elecharny Emmanuel Lécharny
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: