From 69b836321503c1f4d3e24f58c8f6b982352f4e1c Mon Sep 17 00:00:00 2001 From: Melvin Keskin Date: Fri, 21 Jan 2022 18:05:55 +0100 Subject: [PATCH] XEP-0004: Release version 2.13.0 Add incomplete submission form handling --- xep-0004.xml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/xep-0004.xml b/xep-0004.xml index f87cbaba..6aad5342 100644 --- a/xep-0004.xml +++ b/xep-0004.xml @@ -27,6 +27,12 @@ &jer; &temas; &stpeter; + + 2.13.0 + 2022-01-21 + melvo +

Add incomplete submission form handling

+
2.12.1 2021-06-08 @@ -340,6 +346,9 @@ ]]>

Each of these <item/> elements and the <reported/> element MUST contain one or more <field/> children. The <reported/> element defines the data format for the result items by specifying the fields to be expected for each item; for this reason, its <field/> elements SHOULD possess a 'type' attribute and 'label' attribute in addition to the 'var' attribute, and SHOULD NOT contain a <value/> element. Each <item/> element defines one item in the result set, and MUST contain each field specified in the <reported/> element (although the XML character data of the <value/> element MAY be null).

+ +

An incomplete submission form is a data form of the type "submit" that contains all required fields but some optional fields are omitted. The receiving entity of an incomplete submission form SHOULD only process (e.g., apply) the submitted fields. If applicable, the values of the omitted fields SHOULD keep their current value. The current value is often the value found in the corresponding form of the type "form".

+

Data validation is the responsibility of the form-processing entity (commonly a server, service, or bot) rather than the form-submitting entity (commonly a client controlled by a human user). This helps to meet the requirement for keeping client implementations simple. If the form-processing entity determines that the data provided is not valid, it SHOULD return a "Not Acceptable" error, optionally providing a textual explanation in the XMPP <text/> element or an application-specific child element that identifies the problem (see &xep0086; for information about mappings and formats).