directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Seelmann <>
Subject Re: [Shared] Relaxing the schema parsers
Date Wed, 28 May 2008 06:24:37 GMT
Alex Karasulu schrieb:
> On Tue, May 27, 2008 at 5:42 PM, Emmanuel Lecharny
> < <>> wrote:
>     this makes perfect sense to me. We also have to relax the parser
>     in many other aspects :
>     - allowing tabs instead of spaces,
>     - allowing more than one space
>     - allowing missing spaces before or after '(' and ')'
>     - allowing unordered parameters.
> Also some case invariance might be a good idea.  The parser seems to
> blow up when there's mixed case: i.e. attributetype passes but not
> attributeType.
Ah, ok. I think there is another issue. We have two grammars and two
parsers, one for the OpenLDAP style schema files and one for the the
syntax checkers. Some of these relaxions are already present in the one,
some in the other grammar. Perhaps we should try to could combine both
into one grammar?

>     This will render the grammar a little (lot?) more complex, but
>     this is really important. Many users have problems with the syntax
>     checker right now.
> Oh yeah but those are things we have to perhaps allow users to toggle
> on and off.  Like being able to relax certain kinds of schema checks
> per syntax, per attributeType etc.  Some low hanging fruit for those
> interested in getting involved in ADS. 

View raw message