directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Seelmann (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DIRAPI-185) Support underscore in AttributeNames
Date Sun, 08 Jun 2014 21:17:02 GMT

    [ https://issues.apache.org/jira/browse/DIRAPI-185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14021343#comment-14021343
] 

Stefan Seelmann commented on DIRAPI-185:
----------------------------------------

I just remember that we have fast and complex parsers. The complex parser (antlr based) doesn't
support underscores. I'll take care of that and change the grammar.

Regarding quirks/relaxed mode: I'm not sure if it is easy to implement for DN parser. The
DN parsers are package private and only used from within Dn and Rdn class, which would mean
the flag needs to be exposed to users of Dn/Rdn. I think we can keep it always enabled. If
the schema manager is given we'll check anyway if the attribute type is valid, right?

> Support  underscore in AttributeNames
> -------------------------------------
>
>                 Key: DIRAPI-185
>                 URL: https://issues.apache.org/jira/browse/DIRAPI-185
>             Project: Directory Client API
>          Issue Type: Improvement
>    Affects Versions: 1.0.0-M21
>            Reporter: Emmanuel Lecharny
>             Fix For: 1.0.0-RC1
>
>
> Some crappy so-called LDAP server expect AttributeTypes to accept underscores ('_') in
oid. We should allow such things as an option.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message