rfc-5131

A MIB Textual Convention for Language Tags

D. McWalter (Editor)
date2007-12 streamIETF wgnon working group statusPROPOSED STANDARD pages6 canonicalhttps://www.rfc-editor.org/rfc/rfc5131 doi10.17487/RFC5131
This MIB module defines a textual convention to represent BCP 47 language tags. The intent is that this textual convention will be imported and used in MIB modules that would otherwise define their own representation. [STANDARDS-TRACK]

Extracted elements (10)

design-rationale §1

A new LangTag TEXTUAL-CONVENTION was created rather than modifying the existing LanguageTag TC from RFC 2932 because it is not possible to apply changes in syntax and length to an existing textual convention. The new TC has a more comprehensive and current syntax description, is short enough to use as an index object without subtyping, and is provided in a dedicated MIB module to simplify module dependencies.

snmp

design-rationale §4

The maximum length of 63 octets is chosen because analysis of language tag lengths in BCP 47 confirms this limit will not pose a problem in practice, and in particular this length is greater than the minimum requirements set out in BCP 47 Section 4.3.1.

snmp

interoperability-note §1

The LangTag TEXTUAL-CONVENTION defined by RFC 5131 replaces the similar LanguageTag TEXTUAL-CONVENTION defined by RFC 2932. New MIB modules should use LangTag; existing MIB modules using the old LanguageTag TC are unaffected.

snmp

normative-requirement §4 MAY

An implementation MAY further limit the values it accepts to those permitted by a 'validating' processor as defined in BCP 47, beyond the basic well-formedness requirement.

snmp

normative-requirement §4 MUST

Objects using the LangTag TEXTUAL-CONVENTION MUST use only lowercase characters. This restriction ensures unique language tags for use as index objects.

snmp

normative-requirement §4 MUST

Values MUST be well-formed language tags in conformance with the definition of well-formed tags in BCP 47 (RFC 4646).

snmp

protocol-element §4

The LangTag TEXTUAL-CONVENTION defines a MIB type for representing BCP 47 language tags. It uses OCTET STRING syntax with SIZE (0 | 2..63), allowing lowercase characters only, and is intended to be imported by other MIB modules rather than having each define its own representation.

snmp, registry

registry §6

IANA assigned OID { mib-2 165 } to the LANGTAG-TC-MIB module. The MIB is rooted under the mib-2 subtree.

snmp, registry

security-consideration §5

This MIB module defines only a textual convention and does not define any management objects. It therefore has no direct impact on the security of the Internet; meaningful security considerations must be written in the MIB modules that import and use this TC to define management objects.

snmp, security

wire-format §4

The LangTag field is encoded as an OCTET STRING with SIZE (0 | 2..63). A zero-length value is not a valid language tag but can be used to express 'language tag absent' when used as an index field. The DISPLAY-HINT is '1a'.

snmp