On 3/4/11 8:59 AM, "Matthew A. Miller" <[email protected]> wrote:

>> 1.  Enabling Carbons
>> <iq type='set' id='enable1'>
>>  <carbons var='urn:xmpp:carbons:0' mode='enable'/>
>> </iq>
>> Wouldn't the 'var' attribute better be an 'xmlns' ?
>> I did make the change to xmlns, so that I could leverage the IQ management
>> libraries in ejabberd and in StropheJS
>> 
> The xmlns "attribute" is necessary; it puts the "carbons" element within the
> "urn:xmpp:carbons"0" namespace.  Otherwise, "carbons" is in the
> "jabber:client" namespace, and would break schema.

He was quoting the XEP, which has a typo.  Yes, that var should be xmlns,
and it needs to get fixed.

-- 
Joe Hildebrand

Reply via email to