-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove all trailing whitespace from every XEP.
sed -i 's/\s\+$//' xep-*.xml
- Loading branch information
Showing
239 changed files
with
4,021 additions
and
4,021 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
]> | ||
<?xml-stylesheet type='text/xsl' href='xep.xsl'?> | ||
<xep> | ||
<header> | ||
<header> | ||
<title>Jabber-RPC</title> | ||
<abstract>This specification defines an XMPP protocol extension for transporting XML-RPC encoded requests and responses between two XMPP entities. The protocol supports all syntax and semantics of XML-RPC except that it uses XMPP instead of HTTP as the underlying transport.</abstract> | ||
&LEGALNOTICE; | ||
|
@@ -74,9 +74,9 @@ | |
</section1> | ||
<section1 topic='Examples'> | ||
<example caption='A typical request'><![CDATA[ | ||
<iq type='set' | ||
from='[email protected]/jrpc-client' | ||
to='[email protected]/jrpc-server' | ||
<iq type='set' | ||
from='[email protected]/jrpc-client' | ||
to='[email protected]/jrpc-server' | ||
id='rpc1'> | ||
<query xmlns='jabber:iq:rpc'> | ||
<methodCall> | ||
|
@@ -91,9 +91,9 @@ | |
</iq> | ||
]]></example> | ||
<example caption='A typical response'><![CDATA[ | ||
<iq type='result' | ||
from='[email protected]/jrpc-server' | ||
to='[email protected]/jrpc-client' | ||
<iq type='result' | ||
from='[email protected]/jrpc-server' | ||
to='[email protected]/jrpc-client' | ||
id='rpc1'> | ||
<query xmlns='jabber:iq:rpc'> | ||
<methodResponse> | ||
|
@@ -108,9 +108,9 @@ | |
]]></example> | ||
<p>If the requesting entity does not have sufficient permissions to perform remote procedure calls, the responding entity MUST return a &forbidden; error:</p> | ||
<example caption='Requesting entity is forbidden to perform remote procedure calls'><![CDATA[ | ||
<iq type='error' | ||
from='[email protected]/jrpc-server' | ||
to='[email protected]/jrpc-client' | ||
<iq type='error' | ||
from='[email protected]/jrpc-server' | ||
to='[email protected]/jrpc-client' | ||
id='rpc1'> | ||
<query xmlns='jabber:iq:rpc'> | ||
<methodCall> | ||
|
@@ -131,17 +131,17 @@ | |
<section1 topic='Service Discovery' anchor='disco'> | ||
<p>If an entity supports the Jabber-RPC protocol, it SHOULD advertise that fact in response to &xep0030; information ("diso#info") requests by returning an identity of "automation/rpc" and a feature of "jabber:iq:rpc":</p> | ||
<example caption='A disco#info query'><![CDATA[ | ||
<iq type='get' | ||
from='[email protected]/jrpc-client' | ||
to='[email protected]/jrpc-server' | ||
<iq type='get' | ||
from='[email protected]/jrpc-client' | ||
to='[email protected]/jrpc-server' | ||
id='disco1'> | ||
<query xmlns='http://jabber.org/protocol/disco#info'/> | ||
</iq> | ||
]]></example> | ||
<example caption='A disco#info response'><![CDATA[ | ||
<iq type='result' | ||
to='[email protected]/jrpc-client' | ||
from='[email protected]/jrpc-server' | ||
<iq type='result' | ||
to='[email protected]/jrpc-client' | ||
from='[email protected]/jrpc-server' | ||
id='disco1'> | ||
<query xmlns='http://jabber.org/protocol/disco#info'> | ||
<identity category='automation' type='rpc'/> | ||
|
@@ -179,9 +179,9 @@ | |
The protocol documented by this schema is defined in | ||
XEP-0009: http://www.xmpp.org/extensions/xep-0009.html | ||
There is no official XML schema for XML-RPC. The main body | ||
of this schema has been borrowed from an unofficial schema | ||
representation contained in the book "Processing XML With | ||
There is no official XML schema for XML-RPC. The main body | ||
of this schema has been borrowed from an unofficial schema | ||
representation contained in the book "Processing XML With | ||
Java" by Elliotte Rusty Harold, as located at: | ||
http://www.ibiblio.org/xml/books/xmljava/chapters/ch02s05.html | ||
|
@@ -210,13 +210,13 @@ | |
<xs:element name="params" minOccurs="0" maxOccurs="1"> | ||
<xs:complexType> | ||
<xs:sequence> | ||
<xs:element name="param" type="ParamType" | ||
<xs:element name="param" type="ParamType" | ||
minOccurs="0" maxOccurs="unbounded"/> | ||
</xs:sequence> | ||
</xs:complexType> | ||
</xs:element> | ||
</xs:all> | ||
</xs:complexType> | ||
</xs:complexType> | ||
</xs:element> | ||
<xs:element name="methodResponse"> | ||
|
@@ -236,13 +236,13 @@ | |
<xs:element name="value"> | ||
<xs:complexType> | ||
<xs:sequence> | ||
<xs:element name="struct"> | ||
<xs:complexType> | ||
<xs:sequence> | ||
<xs:element name="member" | ||
<xs:element name="struct"> | ||
<xs:complexType> | ||
<xs:sequence> | ||
<xs:element name="member" | ||
type="MemberType"> | ||
</xs:element> | ||
<xs:element name="member" | ||
<xs:element name="member" | ||
type="MemberType"> | ||
</xs:element> | ||
</xs:sequence> | ||
|
@@ -255,7 +255,7 @@ | |
</xs:complexType> | ||
</xs:element> | ||
</xs:choice> | ||
</xs:complexType> | ||
</xs:complexType> | ||
</xs:element> | ||
<xs:complexType name="ParamType"> | ||
|
@@ -286,7 +286,7 @@ | |
<xs:complexType name="StructType"> | ||
<xs:sequence> | ||
<xs:element name="member" type="MemberType" | ||
<xs:element name="member" type="MemberType" | ||
maxOccurs="unbounded"/> | ||
</xs:sequence> | ||
</xs:complexType> | ||
|
@@ -303,7 +303,7 @@ | |
<xs:element name="data"> | ||
<xs:complexType> | ||
<xs:sequence> | ||
<xs:element name="value" type="ValueType" | ||
<xs:element name="value" type="ValueType" | ||
minOccurs="0" maxOccurs="unbounded"/> | ||
</xs:sequence> | ||
</xs:complexType> | ||
|
Oops, something went wrong.