From 4d7ab04fd0819b87159584fe51dc02d4071aea5b Mon Sep 17 00:00:00 2001 From: Justin Karneges Date: Thu, 2 Oct 2008 16:21:31 +0000 Subject: [PATCH] move some rules text out of section 5 (metadata elements) and into section 2 (elements). git-svn-id: file:///home/ksmith/gitmigration/svn/xmpp/trunk@2310 4b5297f7-1745-476d-ba37-a9c6900126ab --- xep-0226.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xep-0226.xml b/xep-0226.xml index 1137b237..b18a2e5b 100644 --- a/xep-0226.xml +++ b/xep-0226.xml @@ -103,6 +103,7 @@

Elements used in a message stanza are either profile elements (for example, <body> or <data xmlns='http://jabber.org/protocol/ibb'>) or metadata elements (for example, <error> or <amp xmlns='http://jabber.org/protocol/amp'>). A message stanza SHOULD only contain profile elements that are part of the same profile. A message stanza MAY contain as many metadata elements as desired.

+

Metadata elements are included to define how the message stanza shall be routed, delivered, or processed in transit. Metadata elements shall not be used to determine which profile applies. If a message stanza includes only metadata elements, it can be considered to have no profile.

A sender MAY mix elements of different profiles only for the purposes of fallback. For example, it may be useful to include a <body> element in a message that is not intended to be displayed as a text message, in case the recipient does not support the primary profile of the message.

@@ -171,7 +172,6 @@
-

Metadata elements are included to define how the message stanza shall be routed, delivered, or processed in transit. Metadata elements shall not be used to determine which profile applies. If a message stanza includes only metadata elements, it can be considered to have no profile.

Metadata elements should be defined in whichever specifications define elements or processing behavior of message stanzas. However, a few metadata elements are defined here.

The extended content elements defined in the following specifications are considered to be metadata elements: