mirror of
https://github.com/moparisthebest/xeps
synced 2024-11-30 13:12:15 -05:00
Clarify that 0030 features must not have children
This commit is contained in:
parent
60c36550a2
commit
48f8846cee
@ -40,7 +40,10 @@
|
|||||||
<version>2.5rc1</version>
|
<version>2.5rc1</version>
|
||||||
<date>2014-06-20</date>
|
<date>2014-06-20</date>
|
||||||
<initials>editor(mam)</initials>
|
<initials>editor(mam)</initials>
|
||||||
<remark><p>Errata submitted to standards@ regarding subscriptions and returned items.</p></remark>
|
<remark>
|
||||||
|
<p>Errata submitted to standards@ regarding subscriptions and returned items.</p>
|
||||||
|
<p>Clarify that feature elements must be childless to make the text match the schema.</p>
|
||||||
|
</remark>
|
||||||
</revision>
|
</revision>
|
||||||
<revision>
|
<revision>
|
||||||
<version>2.4</version>
|
<version>2.4</version>
|
||||||
@ -267,7 +270,7 @@
|
|||||||
]]></example>
|
]]></example>
|
||||||
<p>The target entity then MUST either return an IQ result, or return an error (see the <link url="#errors">Error Conditions</link> section of this document). The result MUST contain a <query/> element qualified by the 'http://jabber.org/protocol/disco#info' namespace, which in turn contains one or more <identity/> elements and one or more <feature/> elements. (Note: Every entity MUST have at least one identity, and every entity MUST support at least the 'http://jabber.org/protocol/disco#info' feature; however, an entity is not required to return a result and MAY return an error, most likely &feature; or &unavailable;, although other error conditions may be appropriate.)</p>
|
<p>The target entity then MUST either return an IQ result, or return an error (see the <link url="#errors">Error Conditions</link> section of this document). The result MUST contain a <query/> element qualified by the 'http://jabber.org/protocol/disco#info' namespace, which in turn contains one or more <identity/> elements and one or more <feature/> elements. (Note: Every entity MUST have at least one identity, and every entity MUST support at least the 'http://jabber.org/protocol/disco#info' feature; however, an entity is not required to return a result and MAY return an error, most likely &feature; or &unavailable;, although other error conditions may be appropriate.)</p>
|
||||||
<p>Each <identity/> element MUST possess the 'category' and 'type' attributes specifying the category and type for the entity, and MAY possess a 'name' attribute specifying a natural-language name for the entity; the <identity/> element MAY also possess a standard 'xml:lang' attribute, which enables the entity to return localized results if desired (i.e., the <query/> element MAY include multiple <identity/> elements with the same category+type but with different 'xml:lang' values, however the <query/> element MUST NOT include multiple <identity/> elements with the same category+type+xml:lang but with different 'name' values).</p>
|
<p>Each <identity/> element MUST possess the 'category' and 'type' attributes specifying the category and type for the entity, and MAY possess a 'name' attribute specifying a natural-language name for the entity; the <identity/> element MAY also possess a standard 'xml:lang' attribute, which enables the entity to return localized results if desired (i.e., the <query/> element MAY include multiple <identity/> elements with the same category+type but with different 'xml:lang' values, however the <query/> element MUST NOT include multiple <identity/> elements with the same category+type+xml:lang but with different 'name' values).</p>
|
||||||
<p>Each <feature/> element MUST possess a 'var' attribute whose value is a protocol namespace or other feature offered by the entity.</p>
|
<p>Each <feature/> element MUST possess a 'var' attribute whose value is a protocol namespace or other feature offered by the entity, and MUST NOT have any children.</p>
|
||||||
<p>Preferably, both the category/type values and the feature values will be registered in a public registry, as described in the <link url="#registrar">XMPP Registrar Considerations</link> section of this document.</p>
|
<p>Preferably, both the category/type values and the feature values will be registered in a public registry, as described in the <link url="#registrar">XMPP Registrar Considerations</link> section of this document.</p>
|
||||||
<example caption='Result-set for information request'><![CDATA[
|
<example caption='Result-set for information request'><![CDATA[
|
||||||
<iq type='result'
|
<iq type='result'
|
||||||
|
Loading…
Reference in New Issue
Block a user