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

RE: numericString syntax ...



Kurt,

> -----Original Message-----
> From: Kurt D. Zeilenga [mailto:Kurt@OpenLDAP.org]
> Sent: Thursday, 21 December 2000 9:40
> To: sanjay.jain@openwave.com
> Cc: ldapext
> Subject: Re: numericString syntax ...
> 
> 
> At 01:41 PM 12/20/00 -0800, sanjay jain wrote:
> >A quick question: 
> >
> >What is the character set for numericString syntax strings ? 
> 
> numericString is identical in syntax to a directoryString.
> In X.500, this implies the character set is restricted by
> a choice of printableString (subset of IA5), teletexString
> (T.61), or universalString (UCS-2).

NumericString syntax and DirectoryString syntax are not identical
in X.500. The definition of NumericString comes from X.680 and X.690,
and is essentially the space and digit characters only, using the ASCII
code points.

BTW, the latest definition of DirectoryString is a choice of
PrintableString, TeletexString, BMPString (UCS-2, UNICODE),
UniversalString (UCS-4) and UTF8String.

Regards,
Steven 

> 
> 
> >Particularly, I am interested in knowing if '+'/'-' chars are 
> >allowed. 
> 
> Yes.  But note that "+1" and "1" are not equal by numeric
> string matching rules... nor are "-1.0" and "-1".  Numeric
> string matching is just like that of case ignore matching
> with all spaces being ignored.
> 
> >RFC 2252 defines 'numericstring' in section 4.1 but it is not 
> >referred in section 6.23 section where 'numericString' syntax 
> >is defined. 
> 
> This is mostly described in X.520.  As noted in LDAPbis WG
> discussions, more specific references to X.500 specifications
> are needed.  All are, of course, welcomed to participate in
> the LDAPv3 revision efforts.
>   http://www.ietf.org/html.charters/ldapbis-charter.html
> 
>