From 0cce11fd492bfecd22574f8b9648bcffc2fa3eb1 Mon Sep 17 00:00:00 2001 From: Peter Saint-Andre Date: Wed, 3 Sep 2008 21:12:56 +0000 Subject: [PATCH] 1.0 DRAFT git-svn-id: file:///home/ksmith/gitmigration/svn/xmpp/trunk@2191 4b5297f7-1745-476d-ba37-a9c6900126ab --- xep-0221.xml | 34 +++++++++++++++++++++++++--------- 1 file changed, 25 insertions(+), 9 deletions(-) diff --git a/xep-0221.xml b/xep-0221.xml index 0814ef50..667bd15a 100644 --- a/xep-0221.xml +++ b/xep-0221.xml @@ -10,7 +10,7 @@ This specification defines an XMPP protocol extension for including media data in XEP-0004 data forms. &LEGALNOTICE; 0221 - Proposed + Draft Standards Track Standards @@ -19,9 +19,18 @@ None None - NOT_YET_ASSIGNED + media-element + + http://www.xmpp.org/schemas/media-element.xsd + &ianpaterson; &stpeter; + + 1.0 + 2008-09-03 + psa +

Per a vote of the XMPP Council, advanced status to Draft; concurrently, the XMPP Registrar issued the urn:xmpp:media-element namespace.

+
0.6 2008-08-06 @@ -65,12 +74,12 @@ -

The root element for media data is <media/>. This element MUST be qualified by the "urn:xmpp:tmp:media-element' namespace &NSNOTE;. The <media/> element MUST be contained within a <field/> element qualified by the 'jabber:x:data' namespace.

+

The root element for media data is <media/>. This element MUST be qualified by the "urn:xmpp:media-element' namespace. The <media/> element MUST be contained within a <field/> element qualified by the 'jabber:x:data' namespace.

If the media is an image or video then the <media/> element SHOULD include 'height' and 'width' attributes specifying the recommended display size of the media in pixels.

The <media/> element SHOULD contain at least one <uri/> element to specify the out-of-band location of the media data. Constrained execution environments prevent some clients (e.g., Web clients) from rendering media unless it has been received out-of-band. If included, the <uri/> element MUST contain a URI that indicates the location and MUST include a 'type' attribute that specifies the MIME type of the media. If the URI scheme is cid: then the identifier MUST refer to a bit of binary data as described in &xep0231;.

The 'type' attribute of the <uri/> element is REQUIRED. The value of the 'type' attribute MUST match the syntax specified in &rfc2045;. That is, the value MUST include a top-level media type, the "/" character, and a subtype; in addition, it MAY include one or more optional parameters (e.g., the "audio/ogg" MIME type in the example shown below includes a "codecs" parameter as specified in &rfc4281;). The "type/subtype" string SHOULD be registered in the &ianamedia;, but MAY be an unregistered or yet-to-be-registered value.

+ http://victim.example.com/challenges/speech.wav?F3A6292C @@ -88,7 +97,7 @@ [ ... ] - @@ -114,7 +123,7 @@ -

Until this specification advances to a status of Draft, its associated namespace shall be "urn:xmpp:tmp:media-element"; upon advancement of this specification, the ®ISTRAR; shall issue a permanent namespace in accordance with the process defined in Section 4 of &xep0053;.

+

The ®ISTRAR; includes "urn:xmpp:media-element" in its registry of protocol namespaces (see &NAMESPACES;).

@@ -124,10 +133,17 @@ + + + The protocol documented by this schema is defined in + XEP-0221: http://www.xmpp.org/extensions/xep-0221.html + + + @@ -141,7 +157,7 @@ - +