Hi Andrzej, 

ouch! I considered the version with "items" more reliable. 

I understand that examples are a clear way to understand what the XEP
says so if that's wrong there is a possibility to get wrong
implementations, IMHO that should be fixed. 

Kind regards,
Manuel Rubio. 

El 2021-02-15 12:24, Andrzej Wojcik escribió:

> Hi,
> 
>> I'm doing an implementation of the MIX (XEP-0369) and now, I was 
>> implementing some administrative tasks, like config and info modification, 
>> but I was questioning about some parts, because, i.e. Example 7 in XEP-0406 
>> (MIX-ADMIN) is saying:
>> 
>> <pubsub xmlns='http://jabber.org/protocol/pubsub'>
>> <publish node='urn:xmpp:mix:nodes:config'>
>> <item id='2016-05-30T09:00:00' xmlns='urn:xmpp:mix:admin:0'/>
>> 
>> I mean, it's implementing "pubsub > publish > item" for the result, but then 
>> the Example 5 is implementing:
>> 
>> <pubsub xmlns='http://jabber.org/protocol/pubsub'>
>> <publish node='urn:xmpp:mix:nodes:info'>
>> <items>
>> <item id='2016-05-30T09:00:00' xmlns='urn:xmpp:mix:core:0'/>
>> 
>> It's adding "items" between "publish" and "item". Is it correct?
> 
> I think that there should be no "items" between "publish" and "item" as MIX 
> is based (in this part) on XEP-0060 which uses "publish" > "item". 
> 
> Keep in mind that examples are not normative and it is better not to assume 
> that they are correct. In most parts related to PubSub it is best to verify 
> with XEP-0060. 
> 
>> And about the last part, all of the namespaces inside of XEP-406 says 
>> "urn:xmpp:mix:core:0", but XEP-0369 is implementing "urn:xmpp:mix:core:1", 
>> keeping in mind that Example 13 in XEP-0369 is showing an example exactly 
>> the same as Example 4 in XEP-406, what version should I use? should it be 
>> updated?
> 
> I think you should use "urn:xmpp:mix:core:1" as current version of core 
> specification has namespace "urn:xmpp:mix:core:1" and XEP-0406 should be 
> updated to reflect that. 
> 
> At least that is what I did while I was implementing MIX. 
> 
> Regards,
> Andrzej Wójcik
> 
> XMPP: [email protected]
> Email: [email protected] 
> 
> _______________________________________________
> Standards mailing list
> Info: https://mail.jabber.org/mailman/listinfo/standards
> Unsubscribe: [email protected]
> _______________________________________________
_______________________________________________
Standards mailing list
Info: https://mail.jabber.org/mailman/listinfo/standards
Unsubscribe: [email protected]
_______________________________________________

Reply via email to