directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Seelmann (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DIRSERVER-793) Implement parsers and simple beans for all schema elements in RFC4512
Date Sun, 17 Dec 2006 20:35:22 GMT
    [ http://issues.apache.org/jira/browse/DIRSERVER-793?page=comments#action_12459151 ] 
            
Stefan Seelmann commented on DIRSERVER-793:
-------------------------------------------

All parsers are implemented. 

Current features:
- Accepts any order of elements, of course the OID must be the first
- Checks that each element only appears once
- Checks for required elements (e.g. AT requires at least one of SYNTAX or SUP, but both are
optional)

The parser could do more semantic checks. Some ideas:
- No duplicate values in multivalued elements (e.g. "... MUST ( cn, cn  )..." )
- SUP in ObjectClass, AttributeType or DITStructureRule should not point to itself
- MUST and MAY in ObjectClass should be disjoint. 
- MUST, MAY and NOT in DITContentRule should be disjoint. 
- MUST and MAY in NameForm should be disjoint. 
On the other side when checking for duplicate/disjoint values there is a problem with alternative
identifiers: MUST contains name (cn), MAY contains OID (2.5.4.3 ) or an alternative name (commonName).
The parser doesn't know that they are equal.


> Implement parsers and simple beans for all schema elements in RFC4512
> ---------------------------------------------------------------------
>
>                 Key: DIRSERVER-793
>                 URL: http://issues.apache.org/jira/browse/DIRSERVER-793
>             Project: Directory ApacheDS
>          Issue Type: New Feature
>            Reporter: Ersin Er
>             Fix For: 1.5.0
>
>         Attachments: shared-ldap-trunks-ATD-LSD.patch, shared-ldap-trunks-DCRD-DSRD-NFD.patch,
shared-ldap-trunks-MRD.patch, shared-ldap-trunks-MRD2.patch, shared-ldap-trunks-ObjectClassDescription.patch
>
>
> We need parsers and simple beans to populate in for all schema elements given in RFC4512.
The elements are:
> ObjectClassDescription
> AttributeTypeDescription
> MatchingRuleDescription
> MatchingRuleUseDescription
> SyntaxDescription
> DITContentRuleDescription
> DITStructureRuleDescription
> NameFormDescription

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message