| | |
| | | } |
| | | |
| | | //The attribute is not being ignored so check for binary option. |
| | | if(checkSchema |
| | | if (checkSchema |
| | | && !attrType.getSyntax().isBEREncodingRequired() |
| | | && attribute.hasOption("binary")) |
| | | && attribute.getAttributeDescription().hasOption("binary")) |
| | | { |
| | | LocalizableMessage message = ERR_LDIF_INVALID_ATTR_OPTION.get( |
| | | entryDN, lastEntryLineNumber, attrName); |
| | |
| | | for (int j = 0; j < attrList.size(); j++) |
| | | { |
| | | Attribute a = attrList.get(j); |
| | | if (a.hasOptions()) |
| | | if (a.getAttributeDescription().hasOptions()) |
| | | { |
| | | continue; |
| | | } |