Le 17/04/2018 à 07:33, Stefan Seelmann a écrit : > On 04/16/2018 11:40 PM, Emmanuel Lécharny wrote: >> Hi guys, >> >> I'm trying to speedup the schema parsing (it's currently quite slow, due >> to the 3 embedded Antlr parsers we use). >> >> We use a quirksMode to be able to process more than just the RFC 4512 >> syntax. AFAICT, here are the relaxed rules : >> >> o Allow prefixed numericOID, like attributeType ( DUAConfSchemaOID:1.0 >> NAME 'defaultServerList' (assuming we have a DUAConfSchemaOID >> definedusing an objectidentifier definition) > > I think that's for OpenLDAP OID macros > >> o Avoid checking references (SUP, SYNTAX) between schema elements >> >> o Allow the presence of special chars like '.', '_', ';', ':' and '#' in >> a NAME > > Yes, because some LDAP servers allow such characters in names > >> o Null OID are accepted for DitStructureRules > > Hm, this is not quirk mode, DitStructureRules don't have an OID, right?
Well, they do have a ruleId, so my question would be : can it be null ? > >> Is there anything I'm missing ? > I think that's it. I hope we have tests to cover all those special cases. If we don't, I'll add them. Thanks Stefan ! -- Emmanuel Lecharny Symas.com directory.apache.org