xep-0284: Fix xmlns in disco#info examples

XEP-0030 was from the `http://jabber.org/protocol/*` era,
nothing else uses `http://xmpp.org/protocol`.
This appears to be a mistake, which is corrected in this commit.
This commit is contained in:
Kim Alvefur 2019-02-05 01:15:01 +01:00 committed by GitHub
parent c8e9cebc6b
commit 53c9d4a4f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -265,13 +265,13 @@
to='kingclaudius@shakespeare.lit/castle'
id='disco1'>
type='get'>
<query xmlns='http://xmpp.org/protocol/disco#info'/>
<query xmlns='http://jabber.org/protocol/disco#info'/>
</iq>
]]></example>
<p>If the host supports Shared XML Editing over XMPP, it MUST return features of "urn:xmpp:sxe:0" and "urn:xmpp:jingle:transports:sxe" &NSNOTE;:</p>
<example caption='Service discovery response'><![CDATA[
<iq from='laertes@shakespeare.lit/castle' to='kingclaudius@shakespeare.lit/castle' type='result' id='disco1'>
<query xmlns='http://xmpp.org/protocol/disco#info'>
<query xmlns='http://jabber.org/protocol/disco#info'>
<identity category='client' type='pc'/>
...
<feature var='urn:xmpp:sxe:0'/>