[Standards] private storage revisited

Peter Saint-Andre stpeter at jabber.org
Mon Jul 9 19:53:01 UTC 2007


Ian Paterson wrote:
> Peter Saint-Andre wrote:
>> So we'd have something like this:
>>
>> <iq from='juliet at capulet.com/balcony' type='set' id='foo'>
>>   <pubsub xmlns='http://jabber.org/protocol/pubsub'>
>>     <publish node='http://jabber.org/protocol/activity'>
>>       <item>
>>         <activity xmlns='http://jabber.org/protocol/activity'>
>>           <relaxing>
>>             <partying/>
>>           </relaxing>
>>           <text xml:lang='en'>My nurse's birthday!</text>
>>         </activity>
>>       </item>
>>     </publish>
>>     <preconditions>
>>       <x xmlns='jabber:x:data' type='submit'>
>>         <field var='FORM_TYPE' type='hidden'>
>>           <value>http://jabber.org/protocol/pubsub#node_config</value>
>>         </field>
>>         <field var='pubsub#access_model'>
>>           <option><value>whitelist</value></option>
>>         </field>
>>       </x>
>>     </preconditions>
>>   </pubsub>
>> </iq>
>>
>> If the node exists and the precondition is not met (in this case, if the
>> access model is something other than "whitelist"), then the publish
>> fails with a suitable error condition (probably <conflict/> along with
>> some pubsub-specific condition).
>>
>> If the node exists and the precondition is met, then the publish
>> succeeds.
>>
>> If the node does not exist, then the service auto-creates the node with
>> default configuration in all respects except those specified in the
>> preconditions (in this case, the node would be created with an access
>> model of "whitelist") and the publish succeeds.
>>
>> Correct?
>>   
> 
> Correct. +1
> 
> Thank you Ralph, Peter.
> 
> Wow! consensus on Personal Publishing! I'm off to celebrate :-) :-)

So I suppose you can update XEP-0189 now, which will break the logjam
for XEP-0136 too. ;-)

Wasn't there another feature you needed for XEP-0189?

Peter

-- 
Peter Saint-Andre
XMPP Standards Foundation
http://www.xmpp.org/xsf/people/stpeter.shtml

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 7354 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://mail.jabber.org/pipermail/standards/attachments/20070709/49f55ef4/attachment.bin>


More information about the Standards mailing list