-
Notifications
You must be signed in to change notification settings - Fork 15
/
amp-actions.xml
52 lines (47 loc) · 1.67 KB
/
amp-actions.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
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE registry SYSTEM 'reg.dtd' [
<!ENTITY % ents SYSTEM 'reg.ent'>
<!ELEMENT registry ( meta, action* ) >
<!ELEMENT action ( name, ns, behavior, doc ) >
<!ELEMENT behavior (#PCDATA)* >
<!ELEMENT ns (#PCDATA)* >
%ents;
]>
<?xml-stylesheet type='text/xsl' href='amp-actions.xsl'?>
<registry>
<meta>
<title>Advanced Message Processing Rule Actions</title>
&LEGALNOTICE;
<overview>This is the official registry of Advanced Message Processing rule actions 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 (actions defined in version 1.0 of XEP-0079).</remark>
</revision>
</meta>
<action>
<name>alert</name>
<ns>http://jabber.org/protocol/amp?action=drop</ns>
<behavior>The message is silently discarded but an alert is returned to the sender.</behavior>
<doc>&xep0079;</doc>
</action>
<action>
<name>drop</name>
<ns>http://jabber.org/protocol/amp?action=drop</ns>
<behavior>The message is silently discarded.</behavior>
<doc>&xep0079;</doc>
</action>
<action>
<name>error</name>
<ns>http://jabber.org/protocol/amp?action=error</ns>
<behavior>The message is not processed and an error is returned to the sender, specifying which rule resulted in failed processing.</behavior>
<doc>&xep0079;</doc>
</action>
<action>
<name>notify</name>
<ns>http://jabber.org/protocol/amp?action=notify</ns>
<behavior>The message is processed and a notification message is returned to the sender, specifying which rule was processed.</behavior>
<doc>&xep0079;</doc>
</action>
</registry>