From d1f6a55582eff163a225a5d9a0b1e7b8485aa460 Mon Sep 17 00:00:00 2001 From: Peter Saint-Andre Date: Mon, 15 Oct 2012 10:32:50 -0600 Subject: [PATCH] 0.1 --- xep-0315.xml | 268 ++++++++++++++++++++++++++------------------------- 1 file changed, 136 insertions(+), 132 deletions(-) diff --git a/xep-0315.xml b/xep-0315.xml index 3a897a18..fa74a9f5 100644 --- a/xep-0315.xml +++ b/xep-0315.xml @@ -1,132 +1,136 @@ - - -%ents; -]> - - -
- Data Forms XML Element - This specification defines an XMPP protocol extension for including XML-data in XEP-0004 data forms. - &LEGALNOTICE; - xxxx - Experimental - Standards Track - Standards - - XMPP Core - XEP-0004 - - None - None - media-element - - http://www.xmpp.org/schemas/xml-element.xsd - - - Sergey - Dobrov - binary@jrudevels.org - binary@jrudevels.org - http://jrudevels.org/ - - - 0.0.2 - 2012-06-21 - snd -

Root element name changed to "wrapper"; xmlns fixed in the XML-schema.

-
- - 0.0.1 - 2012-06-13 - snd -

Initial version.

-
-
- - -

In certain protocols that make use of &xep0004;, it can be helpful to include XML-data (for example, when we want to insert a big amount of structured data which is hard to insert as a separate fields). This document defines a method for including XML-data in a data form.

-
- - -

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

-

The <wrapper/> element SHOULD contain an XML-data which needs to be represented in a form.

- - - Romeo&apos;s Microblog - tag:montague.lit,2008:home - 2008-05-08T18:30:02Z - - Romeo Montague - xmpp:romeo@montague.lit - - - - ]]> - - [ ... ] - - - - Romeo&apos;s Microblog - tag:montague.lit,2008:home - 2008-05-08T18:30:02Z - - Romeo Montague - xmpp:romeo@montague.lit - - - - - [ ... ] - - ]]> -
- - -

XML-data is usually hard for manual editing and SHOULD be used only for machine level iteractions. So it's RECOMMENDED to include it in the form as a "hidden" field.

-

However, there are situations when human editing of XML-data may be useful (for example, to see XML-logs of some XMPP-service). In that case it's RECOMMENDED for a client to represent this XML in a pretty formatted form and give an instruments to make it easier to edit XML-data.

-
- - -

This document requires no interaction with &IANA;.

-
- - - -

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

-
-
- - - - - - - - - The protocol documented by this schema is defined in - XEP-XXXX: http://www.xmpp.org/extensions/xep-xxxx.html - - - - - - - - - - - - - ]]> - - -
+ + +%ents; +]> + + +
+ Data Forms XML Element + This specification defines an XMPP protocol extension for including XML-data in XEP-0004 data forms. + &LEGALNOTICE; + 0315 + Experimental + Standards Track + Standards + + XMPP Core + XEP-0004 + + None + None + media-element + + + Sergey + Dobrov + binary@jrudevels.org + binary@jrudevels.org + http://jrudevels.org/ + + + 0.1 + 2012-10-15 + psa +

Initial published version approved for publication by the XMPP Council.

+
+ + 0.0.2 + 2012-06-21 + snd +

Root element name changed to "wrapper"; xmlns fixed in the XML-schema.

+
+ + 0.0.1 + 2012-06-13 + snd +

Initial version.

+
+
+ + +

In certain protocols that make use of &xep0004;, it can be helpful to include XML-data (for example, when we want to insert a big amount of structured data which is hard to insert as a separate fields). This document defines a method for including XML-data in a data form.

+
+ + +

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

+

The <wrapper/> element SHOULD contain an XML-data which needs to be represented in a form.

+ + + Romeo&apos;s Microblog + tag:montague.lit,2008:home + 2008-05-08T18:30:02Z + + Romeo Montague + xmpp:romeo@montague.lit + + + + ]]> + + [ ... ] + + + + Romeo&apos;s Microblog + tag:montague.lit,2008:home + 2008-05-08T18:30:02Z + + Romeo Montague + xmpp:romeo@montague.lit + + + + + [ ... ] + + ]]> +
+ + +

XML-data is usually hard for manual editing and SHOULD be used only for machine level iteractions. So it's RECOMMENDED to include it in the form as a "hidden" field.

+

However, there are situations when human editing of XML-data may be useful (for example, to see XML-logs of some XMPP-service). In that case it's RECOMMENDED for a client to represent this XML in a pretty formatted form and give an instruments to make it easier to edit XML-data.

+
+ + +

This document requires no interaction with &IANA;.

+
+ + + +

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

+
+
+ + + + + + + + + The protocol documented by this schema is defined in + XEP-XXXX: http://www.xmpp.org/extensions/xep-xxxx.html + + + + + + + + + + + + + ]]> + + +