[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Question about attribute name



<quote who="Pierangelo Masarati">
> Gavin Henry wrote:
>> Pierangelo Masarati wrote:
>>> Rana Biswas wrote:
>>>
>>>> Any help is much appreciated.
>>>
>>>>>> attributeType ( 2.5.4.2.2 NAME   'cm.host'
>>>
>>> According to rfc 4512, the NAME field must begin with an alphabetic
>>> char
>>> ("A"-"Z" / "a"-"z") and can only contain alphanumeric chars ("A"-"Z" /
>>> "a"-"z" / "0"-"9") and hyphens ("-").  So 'cm.host' is invalid because
>>> of the dot (".").
>>>
>>
>> Which section is that in? I couldn't find it this morning.
>
> 2.5.  Attribute Descriptions
>
>    An attribute description is composed of an attribute type (see
>    Section 2.5.1) and a set of zero or more attribute options (see
>    Section 2.5.2).
>
>    An attribute description is represented by the ABNF:
>
>       attributedescription = attributetype options
>       attributetype = oid
>       options = *( SEMI option )
>       option = 1*keychar
>
> ...
>
> oid and so are defined in
>
> 1.4.  Common ABNF Productions
>
> p.

Hmmm, that's exactly what I found and quoted this morning.

ABNF has:

  DOT     = %x2E ; period (".")

So that _should_ be legal?