Introduce "jinglepub identifier" in XEP-0358

This commit is contained in:
Florian Schmaus 2016-05-25 08:17:23 +02:00
parent 8dc8708acb
commit 347793456c
1 changed files with 3 additions and 4 deletions

View File

@ -81,7 +81,7 @@
</jinglepub>
]]></example>
<p>The 'from' attribute MUST be present and MUST be the valid JID for the session owner.</p>
<p>The 'id' attribute is an opaque identifier. This attribute MUST be present, and MUST be a valid non-empty string. It uniquely identifies the published request at the session owner's JID.</p>
<p>The 'id' attribute is an opaque identifier, called the "jinglepub identifier". This attribute MUST be present, and MUST be a valid non-empty string. It uniquely identifies the published request at the session owner's JID.</p>
<p>The &lt;jinglepub/&gt; element MUST contain a &lt;description/&gt; element qualified by the namespace of the relevant Jingle application format (e.g., &lt;description xmlns='urn:xmpp:jingle:apps:file-transfer:4'/&gt; for file transfer).</p>
<p>The &lt;jinglepub/&gt; element MAY contain one or more &lt;meta/&gt; elements qualified by the jingle-pub namespace; if more than one element is included, each element MUST have a different value for the 'xml:lang' attribute.</p>
<p>The &lt;jinglepub/&gt; element MAY contain a &lt;uri/&gt; element which contains a URI for an alternative way to access the content, or other information about the content. The resource provided by the URI SHOULD be meaningful for clients that do not directly support the included Jingle content definitions, and accessing the URI MAY result in a different experience than initiating the published Jingle session. For example, the URI could be to a content landing page of an image hosting service from which an image could be viewed instead of directly downloading the image file.</p>
@ -258,14 +258,13 @@ Initiator Responder
<p>This document defines the 'jingle' XMPP URI/IRI querytype,
which MUST posses an 'id' key/value pair, whose value is the
'jinglepub' identifier (the &lt;jinglepub/&gt; 'id'
attribute).</p>
"jinglepub identifier".</p>
<example caption='Jingle Action: IRI/URI'><![CDATA[
xmpp:files.montague.net?jingle;id=9559976B-3FBF-4E7E-B457-2DAA225972BB]]></example>
<p>The information found in such an URI, an XMPP address and a
'jinglepub' identifier, can be used to trigger an an Jingle
"jinglepub identifier", can be used to trigger an an Jingle
session initation request as specified in <cite>§ 2.2</cite>. This
Jingle session can be used to transfer files (&xep0234;), audio
and video streams (&xep0167;) and other Jingle application