RFC5122
本文的英文原文来自RFC 5122
网络工作组 | P. Saint-Andre |
申请讨论: 5122 | XSF |
取代: 4622 | 2008年2月 |
类别: 标准跟踪 |
- 用于可扩展的即时消息和出席信息协议(XMPP)的国际化资源标识符(IRIs)和统一资源标识符(URIs)
本文的状态
- 本文为互联网社区定义了一个互联网标准跟踪协议, 并请求讨论和改进建议. 关于本协议的标准华情况和状态请参考 “互联网官方协议标准” (STD 1) 的当前版本. 本文不限制分发.
摘要
- 本文定义了使用国际化资源标识符(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.