[Standards] XEP-0045 Muc invite

Alexander Gnauck gnauck at ag-software.de
Mon Feb 23 22:42:30 UTC 2009


Example 208 shows the <password/> as child of <invite/>

   <message to='darkcave at chat.shakespeare.lit'>
     <x xmlns='http://jabber.org/protocol/muc#user'>
       <invite to='hecate at shakespeare.lit'>
         <password>cauldronburn</password>
       </invite>
     </x>
   </message>

Example 124 has the <password/> as child of <x/>	

   <message
       from='darkcave at chat.shakespeare.lit'
       to='hecate at shakespeare.lit'>
     <x xmlns='http://jabber.org/protocol/muc#user'>
       <invite from='bard at shakespeare.lit'/>
       <password>cauldronburn</password>
     </x>
   </message>


which one is correct. I think the second one.

<continue/> is missing in the schema of <invite/>
Also <password/> if 208 is correct ;-)

   <xs:element name='invite'>
     <xs:complexType>
       <xs:sequence>
         <xs:element ref='reason' minOccurs='0'/>
       </xs:sequence>
       <xs:attribute name='from' type='xs:string' use='optional'/>
       <xs:attribute name='to' type='xs:string' use='optional'/>
     </xs:complexType>
   </xs:element>

Regards,
Alex
--
Alexander Gnauck
http://www.ag-software.de
xmpp:gnauck at jabber.org




More information about the Standards mailing list