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 2015/03/30 09:07:52 UTC

[jira] [Created] (DIRAPI-229) The LdifParser lowrcase attributeType

Emmanuel Lecharny created DIRAPI-229:
----------------------------------------

             Summary: The LdifParser lowrcase attributeType
                 Key: DIRAPI-229
                 URL: https://issues.apache.org/jira/browse/DIRAPI-229
             Project: Directory Client API
          Issue Type: Bug
            Reporter: Emmanuel Lecharny


The LdifReader class lowercases the AtributeType during the parsing  :

{code}
    public static Attribute parseAttributeValue( String line )
    {
        int colonIndex = line.indexOf( ':' );

        if ( colonIndex != -1 )
        {
            String attributeType = Strings.toLowerCase( line ).substring( 0, colonIndex );
{code}

We then lose the original user provided AttributeType, which is not expected




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)