attr-def
Specifies an attribute definition.
Definition
<!ELEMENT attr-def EMPTY>
<!ATTLIST attr-def
attr-name CDATA #REQUIRED
asn1id CDATA #IMPLIED
type (%Attr-type;) "string"
required (%Boolean;) "false"
naming (%Boolean;) "false"
multi-valued (%Boolean;) "true"
case-sensitive (%Boolean;) "false"
read-only (%Boolean;) "false">
Attributes
- attr-name
- Specifies the attribute definition name used in
the originating schema. This name is mapped between the application
and eDirectory through the schema mapping rules so that eDirectory sees
the attribute name in its name space and the external application
sees the attribute name in its name space.
- asn1id
- Specifies the object ID (OID) for the attribute
(optional).
- type
- Specifies the type of data contained in the attribute's
value. Optional if the attribute contains string data. For other
possible values for type, see value.
- required
- Specifies whether the attribute is mandatory for
the class. If mandatory, the attribute requires a value in order
to create an entry. The default value is "false".
- naming
- Specifies whether the attribute is used as part
of the relative distinguished name of the entry for this base class.
Default value is "false."
- multi-valued
- Specifies whether the attribute can have multiple
values. Default value is "true".
- case-sensitive
- Specifies whether the value is case sensitive. Default
value is "false".
- read-only
- Specifies whether the value is read-only. Default
value is "false".
Remarks
The XML documents for schema definitions can become very large.
Therefore, if the default values for the XML attributes match the
attribute definition, do not specify them in the XML document.