AttributeTypeDescriptionSchemaParser fails to parse OID formatted as X.Y.0000Z
------------------------------------------------------------------------------
Key: DIRAPI-65
URL: https://issues.apache.org/jira/browse/DIRAPI-65
Project: Directory Client API
Issue Type: Bug
Reporter: Pierre-Arnaud Marcelot
While working on DIRSTUDIO-748, we discovered that the
AttributeTypeDescriptionSchemaParser was not properly handling OID formatted as
X.Y.0000Z.
Here's the error the parser generates:
[16:51:51] ERROR
[org.apache.directory.shared.ldap.model.schema.parsers.AttributeTypeDescriptionSchemaParser]
- ERR_04228 Parser failure on attribute type description:
( 1.3.6.1.4.1.25260.1.001 NAME 'maildrop' DESC 'Defines the address mail goes
to' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX
1.3.6.1.4.1.1466.115.121.1.15 USAGE userApplications X-SCHEMA 'DIRSTUDIO-748' )
Antlr message: unexpected token: 01
Antlr column: 22
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira