RFC5122

来自Jabber/XMPP中文翻译计划
2014年1月15日 (三) 03:30Admin (讨论 | 贡献)的版本
跳转到: 导航, 搜索


本文的英文原文来自Internationalized Resource Identifiers (IRIs) and Uniform Resource Identifiers (URIs) for the Extensible Messaging and Presence Protocol (XMPP)

用于可扩展的即时消息和出席信息协议(XMPP)的国际化资源标识符(IRIs)和统一资源标识符(URIs)

本文的状态

本文定义了使用国际化资源标识符(IRIs)和统一资源标识符(URIs)来对能通过可扩展的即时消息和出席信息协议(XMPP)进行通讯的实体进行标识或与其交互.

本文取代了 RFC 4622.

简介

The Extensible Messaging and Presence Protocol (XMPP) is a streaming XML technology that enables any two entities on a network to exchange well-defined but extensible XML elements (called "XML stanzas") at a rate close to real time.

As specified in [XMPP‑CORE], entity addresses as used in communications over an XMPP network must not be prepended with a Uniform Resource Identifier (URI) scheme (as specified in [URI]). However, applications external to an XMPP network may need to identify XMPP entities either as URIs or, in a more modern fashion, as Internationalized Resource Identifiers (IRIs; see [IRI]). Examples of such external applications include databases that need to store XMPP addresses and non-native user agents such as web browsers and calendaring applications that provide interfaces to XMPP services.

The format for an XMPP address is defined in [XMPP‑CORE]. Such an address may contain nearly any Unicode character [UNICODE] and must adhere to various profiles of stringprep [STRINGPREP]. The result is that an XMPP address is fully internationalizable and is very close to being an IRI without a scheme. However, given that there is no freestanding registry of IRI schemes, it is necessary to define XMPP identifiers primarily as URIs rather than as IRIs, and to register an XMPP URI scheme instead of an IRI scheme. Therefore, this document does the following:

Specifies how to identify XMPP entities as IRIs or URIs. Specifies how to interact with XMPP entities as IRIs or URIs. Formally defines the syntax for XMPP IRIs and URIs. Specifies how to transform XMPP IRIs into URIs and vice-versa. Registers the xmpp URI scheme.

个人工具