Further clarify the presence requirements for the type attribute on fields.
+ 2.10.02020-05-05
@@ -197,7 +203,7 @@
submit
-
The form-submitting entity is submitting data to the form-processing entity. The submission MAY include fields that were not provided in the empty form, but the form-processing entity MUST ignore any fields that it does not understand. Furthermore, the submission MAY omit fields not marked with >required/< by the form-processing entity.
+
The form-submitting entity is submitting data to the form-processing entity. The submission MAY include fields that were not provided in the empty form, but the form-processing entity MUST ignore any fields that it does not understand. Furthermore, the submission MAY omit fields not marked with <required/> by the form-processing entity.
cancel
@@ -223,7 +229,12 @@
<value/>
The XML character data of this element defines the default value for the field (according to the form-processing entity) in a data form of type "form", the data provided by a form-submitting entity in a data form of type "submit", or a data result in a data form of type "result". In data forms of type "form", if the form-processing entity provides a default value via the <value/> element, then the form-submitting entity SHOULD NOT attempt to enforce a different default value (although it MAY do so to respect user preferences or anticipate expected user input). Fields of type list-multi, jid-multi, text-multi, and hidden MAY contain more than one <value/> element; all other field types MUST NOT contain more than one <value/> element.
<option/>
One of the options in a field of type "list-single" or "list-multi". The XML character of the <value/> child defines the option value, and the 'label' attribute defines a human-readable name for the option. The <option/> element MUST contain one and only one <value/> child. If the field is not of type "list-single" or "list-multi", it MUST NOT contain an <option/> element.
-
If the <field/> element type is anything other than "fixed" (see below), it MUST possess a 'var' attribute that uniquely identifies the field in the context of the form (if it is "fixed", it MAY possess a 'var' attribute). The <field/> element MAY possess a 'label' attribute that defines a human-readable name for the field. For data forms of type "form", each <field/> element SHOULD possess a 'type' attribute that defines the data "type" of the field data (if no 'type' is specified, the default is "text-single"); fields provided in the context of other forms types MAY possess a 'type' attribute as well. For data forms of type "submit", inclusion of the 'type' attribute is OPTIONAL, since the form-processing entity is assumed to understand the data types associated with forms that it processes.
+
If the <field/> element type is anything other than "fixed" (see below), it MUST possess a 'var' attribute that uniquely identifies the field in the context of the form (if it is "fixed", it MAY possess a 'var' attribute). The <field/> element MAY possess a 'label' attribute that defines a human-readable name for the field.
+
The 'type' attribute defines the data "type" of the field data. The following rules apply for that attribute:
+
+
For data forms of type "form", each <field/> element SHOULD possess a 'type' attribute. If the 'type' attribute is absent, the default of "text-single" is to be applied.
+
For data forms of type "submit", "result" or "error", the recieving entity can infer the 'type' attribute value from context. Nevertheless, the 'type' attribute MAY be present for clarity. Note that forms of type "error" SHOULD NOT have any <field/> elements.
+
If fields are presented in a user interface (e.g., as items in a questionnaire or form result), the order of the field elements in the XML SHOULD determine the order of items presented to the user.
+
+ 0.7.12020-08-04
@@ -852,7 +860,7 @@
return an iq with type error, and the error condition SHOULD be 'forbidden'.
A server SHOULD provide a mechanism for a user to disable archiving of
messages with all or specific contacts, such as via the configuration
- protocol described in this document. This allows the user to prevent the
+ protocol described in &xep0441;. This allows the user to prevent the
archiving of potentially sensitive messages in the first place.
A server MAY automatically prevent certain sensitive messages from being
archived. How such messages are identified is beyond the scope of this
diff --git a/xep-template.xml b/xep-template.xml
index 79fb37fc..bb4a9508 100644
--- a/xep-template.xml
+++ b/xep-template.xml
@@ -75,6 +75,48 @@
itself instead of list or chat archives serves future readers. -->
RECOMMENDED.
+
+
PLEASE REMOVE THIS SECTION. These are just examples for the RECOMMENDED ways to style your XEP.
+
+
This is regular XEP text. It can contain strong and emphasized markup as well as fixed-width text.
+
This is text with a line break. New line.
+
This is text with a footnoteThis is the footnote..
+
This is a link to a section in this document.
+
This is a reference to another XEP: &xep0001;, it can be re-referenced as XEP-0001 later in the text.
+ Code block content.
+
+
This is an ordered list. First item
+
Second item
+
+
+
This is an unordered list. First item
+
Second item
+
+
+
+
Definition List
+
+ A definition list contains definition items with a title and a description.
+
+
+
+
Note: This is an informational box
+
+
+
+]]>
+
+
Text in a Sub-Sub-Section.
+
+
Text in a Sub-Sub-Sub-Section.
+
+
+
+
REQUIRED for protocol specifications.
diff --git a/xep.ent b/xep.ent
index cd3baac8..3ca4e49b 100644
--- a/xep.ent
+++ b/xep.ent
@@ -1574,6 +1574,7 @@ IANA Service Location Protocol, Version 2 (SLPv2) Templates
E2E Authentication in XMPP: Certificate Issuance and Revocation (XEP-0417) XEP-0417: E2E Authentication in XMPP: Certificate Issuance and Revocation <https://xmpp.org/extensions/xep-0417.html>." >
DNS Queries over XMPP (DoX) (XEP-0418) XEP-0418: DNS Queries over XMPP (DoX) <https://xmpp.org/extensions/xep-0418.html>." >
Improving Baseline Security in XMPP (XEP-0419) XEP-0419: Improving Baseline Security in XMPP <https://xmpp.org/extensions/xep-0419.html>." >
+
Stanza Content Encryption (XEP-0420) XEP-0420: Stanza Content Encryption <https://xmpp.org/extensions/xep-0420.html>." >
Anonymous unique occupant identifiers for MUCs (XEP-0421) XEP-0421: Anonymous unique occupant identifiers for MUCs <https://xmpp.org/extensions/xep-0421.html>." >
Message Fastening (XEP-0422) XEP-0422: Message Fastening <https://xmpp.org/extensions/xep-0422.html>." >
@@ -1584,6 +1585,7 @@ IANA Service Location Protocol, Version 2 (SLPv2) Templates
MAM Fastening Collation (XEP-0427) XEP-0427: MAM Fastening Collation <https://xmpp.org/extensions/xep-0427.html>." >
Fallback Indication (XEP-0428) XEP-0428: Fallback Indication <https://xmpp.org/extensions/xep-0428.html>." >
Special Interests Group End to End Encryption (XEP-0429) XEP-0429: Special Interests Group End to End Encryption <https://xmpp.org/extensions/xep-0429.html>." >
+
Inbox (XEP-0430) XEP-0430: Inbox <https://xmpp.org/extensions/xep-0430.html>." >
Full Text Search in MAM (XEP-0431) XEP-0431: Full Text Search in MAM <https://xmpp.org/extensions/xep-0431.html>." >
Simple JSON Messaging (XEP-0432) XEP-0432: Simple JSON Messaging <https://xmpp.org/extensions/xep-0432.html>." >
@@ -1593,3 +1595,7 @@ IANA Service Location Protocol, Version 2 (SLPv2) Templates
Room Activity Indicators (XEP-0437) XEP-0437: Room Activity Indicators <https://xmpp.org/extensions/xep-0437.html>." >
Best practices for password hashing and storage (XEP-0438) XEP-0438: Best practices for password hashing and storage <https://xmpp.org/extensions/xep-0438.html>." >
Quick Response (XEP-0439) XEP-0439: Quick Response <https://xmpp.org/extensions/xep-0439.html>." >
+
+SASL Channel-Binding Type Capability (XEP-0440) XEP-0440: SASL Channel-Binding Type Capability <https://xmpp.org/extensions/xep-0440.html>." >
+Message Archive Management Preferences (XEP-0441) XEP-0441: Message Archive Management Preferences <https://xmpp.org/extensions/xep-0441.html>." >
+Pubsub Message Archive Management (XEP-0442) XEP-0442: Pubsub Message Archive Management <https://xmpp.org/extensions/xep-0442.html>." >