[standards-jig] Disco Example qiuestion

Chris Mullins cmullins at winfessor.com
Tue Feb 10 01:19:25 UTC 2004


It looks as if Example 11 in the DISCO jep, is incorrect.

Example 11. Querying a specific jabber-id and node combination
<iq
    type="get"
    from="juliet at capulet.com/balcony"
    to="balconyscene at plays.shakspeare.lit"
    id="info3">
  <query xmlns="http://jabber.org/protocol/disco#info" node="romeo">
    <identity
        category="client"
        type="user"
        name="Romeo"/>
  </query>
</iq>


This looks it should be two different IQ stanzas, like all the rest of
the examples. 
<iq
    type="get"
    from="juliet at capulet.com/balcony"
    to="balconyscene at plays.shakspeare.lit"
    id="info3">
  <query xmlns="http://jabber.org/protocol/disco#info" node="romeo"/>
</iq>

<iq type="result"
    from="balconyscene at plays.shakspeare.lit"
    to="juliet at capulet.com/balcony"
    id="info3">
    <query xmlns="http://jabber.org/protocol/disco#info" node="romeo">
        <identity
            category="client"
            type="user"
            name="Romeo"/>
  </query>
</iq>

-- 
Chris Mullins	





More information about the Standards mailing list