From 07d8e35ec86e907f4d59955ef899b58318acd30b Mon Sep 17 00:00:00 2001 From: Peter Saint-Andre Date: Thu, 17 Jun 2010 18:53:54 +0000 Subject: [PATCH] clarified that type attribute is required only if data element is non-empty git-svn-id: file:///home/ksmith/gitmigration/svn/xmpp/trunk@4250 4b5297f7-1745-476d-ba37-a9c6900126ab --- xep-0231.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xep-0231.xml b/xep-0231.xml index 08e22d40..ca0b623a 100644 --- a/xep-0231.xml +++ b/xep-0231.xml @@ -221,7 +221,7 @@ type 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. - REQUIRED + REQUIRED if the <data/> element is non-empty

The following example illustrates the format (line endings are provided for readability only).

@@ -304,7 +304,7 @@ - +