-
Notifications
You must be signed in to change notification settings - Fork 15
/
amp-conditions.xml
53 lines (49 loc) · 2.24 KB
/
amp-conditions.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE registry SYSTEM 'reg.dtd' [
<!ENTITY % ents SYSTEM 'reg.ent'>
<!ELEMENT registry ( meta, condition* ) >
<!ELEMENT condition ( name, ns, per-hop, value, processing, doc ) >
<!ELEMENT per-hop (#PCDATA)* >
<!ELEMENT value (#PCDATA)* >
<!ELEMENT processing (#PCDATA)* >
<!ELEMENT ns (#PCDATA)* >
%ents;
]>
<?xml-stylesheet type='text/xsl' href='amp-conditions.xsl'?>
<registry>
<meta>
<title>Advanced Message Processing Rule Conditions</title>
&LEGALNOTICE;
<overview>This is the official registry of Advanced Message Processing rule conditions maintained by the ®ISTRAR;, as authorized by &xep0079;.</overview>
<revision>
<version>0.1</version>
<date>2004-10-11</date>
<initials>psa</initials>
<remark>Initial version (conditions defined in version 1.0 of XEP-0079).</remark>
</revision>
</meta>
<condition>
<name>deliver</name>
<ns>http://jabber.org/protocol/amp?condition=deliver</ns>
<per-hop>true</per-hop>
<value>[direct|forward|gateway|none|stored]</value>
<processing>The condition is met if (1) the value is "direct" and the message can be immediately delivered or further dispatched, or (2) the value is "stored" and offline storage is enabled.</processing>
<doc>&xep0079;</doc>
</condition>
<condition>
<name>expire-at</name>
<ns>http://jabber.org/protocol/amp?condition=expire-at</ns>
<per-hop>true</per-hop>
<value>DateTime per XEP-0082</value>
<processing>The condition is met if the message cannot be delivered before the specified DateTime.</processing>
<doc>&xep0079;</doc>
</condition>
<condition>
<name>match-resource</name>
<ns>http://jabber.org/protocol/amp?condition=match-resource</ns>
<per-hop>false</per-hop>
<value>[any|exact|other]</value>
<processing>The condition is met if (1) the value is "any" and the intended recipient has at least one available resource (as defined in the XMPP IM specification); (2) the value "exact" and the intended recipient has an available resource that exactly matches the JID specified in the 'to' address; (3) the value is "other" and the intended recipient has an available resource whose full JID is other than that specified in the 'to' address.</processing>
<doc>&xep0079;</doc>
</condition>
</registry>