Hi,
I was looking at the apachemeta.schema file and saw a bunch of
extensions attributes almost for each entity like:
m-extensionSyntax
m-extensionMatchingRule
m-extensionObjectClass
(1) Do we need all of these or can we just use m-extensions for
describing all extensions?
(2) Secondly as I understand it extensions can have multiple values but
each extension has it's own key. So this raises the question of how to
represent this in the DIT within a single entry. I don't think using a
single attribute is a good means to represent all extensions in this
case. Any ideas here?
Since extensions are server specific we can create an attribute for each
extension we support in ADS. To automatically recognize these special
attributes we can x- prefix the attribute instead of using m-. So for
example we can have the attributes:
x-binary
If our extension does not support values we can have just the attribute
with an empty (null) value. If the extension supports one value we can
make it single valued. If it supports many values we can then make it
multivalued and have more than one value for that extension.
(3) Now there is another big issue. From my understanding extension
value order may be significant. If this is then the above
recommendation in #2 will not work because this will not preserve order.
We first have to determine if order is preserved. If so then we must
encode extension values as a list of values into custom extension
attributes with the x- prefix. The question is how do we do this?
Thanks,
Alex
begin:vcard
fn:Alex Karasulu
n:Karasulu;Alex
org:Apache Software Foundation;Apache Directory
adr:;;1005 N. Marsh Wind Way;Ponte Vedra ;FL;32082;USA
email;internet:[EMAIL PROTECTED]
title:Member, V.P.
tel;work:(904) 791-2766
tel;fax:(904) 808-4789
tel;home:(904) 808-4789
tel;cell:(904) 315-4901
note;quoted-printable:AIM: alexokarasulu=0D=0A=
MSN: [EMAIL PROTECTED]
Yahoo!: alexkarasulu=0D=0A=
IRC: aok=0D=0A=
PGP ID: 1024D/4E1370F8 BBCC E8D8 8756 2D51 C3D4 014A 3662 F96F 4E13 70F8=0D=0A=
x-mozilla-html:FALSE
url:http://people.apache.org/~akarasulu
version:2.1
end:vcard