跳转到: 导航, 搜索

本文的英文原文来自RFC 5122

网络工作组 P. Saint-Andre
申请讨论: 5122 XSF
取代: 4622 2008年2月
类别: 标准跟踪


本文为互联网社区定义了一个互联网标准跟踪协议, 并请求讨论和改进建议. 关于本协议的标准华情况和状态请参考 “互联网官方协议标准” (STD 1) 的当前版本. 本文不限制分发.


本文取代了 RFC 4622.


可扩展的消息和出席信息协议(XMPP)是一个流化XML技术,允许一个网络中的两个实体以准实时的速率交换良好定义但是可扩展的XML元素(称为 "XML 节").

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.