From df3d3d8b82c7c35e0a32ae8719f06c334cafbd92 Mon Sep 17 00:00:00 2001 From: Florian Schmaus Date: Wed, 27 Jan 2021 18:53:48 +0100 Subject: [PATCH] XEP-0004: Clarify which elements are meant --- xep-0004.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xep-0004.xml b/xep-0004.xml index 5a73b854..af3beebd 100644 --- a/xep-0004.xml +++ b/xep-0004.xml @@ -317,7 +317,7 @@ . ]]> -

Each of these elements 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, the <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).

+

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).