OPENDJ-2047 CR-7061 SDK AttributeTypeSyntax should accept no space before closing parentheses
A character more than necessary was read while parsing the attribute name.
| | |
| | | if (c == '\'') { |
| | | reader.reset(); |
| | | values = Collections.singletonList(readQuotedDescriptor(reader, allowCompatChars)); |
| | | reader.read(); |
| | | } else if (c == '(') { |
| | | // Skip over any leading spaces |
| | | reader.skipWhitespaces(); |
| | |
| | | + " SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE" |
| | | + " COLLECTIVE USAGE userApplications )", true }, |
| | | { |
| | | "(1.2.8.5 NAME 'testtype')", true }, |
| | | { |
| | | "(1.2.8.5 NAME 'testtype' DESC 'full type')", true }, |
| | | { |
| | | "(1.2.8.5 NAME 'testType' DESC 'full type' EQUALITY caseIgnoreMatch " |
| | |
| | | " SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE" + |
| | | " COLLECTIVE USAGE userApplications )", |
| | | true}, |
| | | {"(1.2.8.5 NAME 'testtype')", true}, |
| | | {"(1.2.8.5 NAME 'testtype' DESC 'full type')", |
| | | true}, |
| | | {"(1.2.8.5 NAME 'testType' DESC 'full type' EQUALITY caseIgnoreMatch " + |