[standards-jig] JEP-0049 Private XML Storage

Casey Crabb crabbkw at nafai.dyndns.org
Tue Nov 12 01:06:28 UTC 2002


It seems that there is no way to remove private XML storage once 
created. I think there is a need for this.

My recommendation for accomplishing this is a special case child tag of 
query, 'remove'.

<iq type='set'>
   <query xmlns='jabber:iq:private'>
     <remove xmlns='namespace/to/remove'/>
   </query>
</iq>

Resulting in:

<iq type='result'/>

or

<iq type='error'>
   <query xmlns='jabber:iq:private'>
     <remove xmlns='namespace/to/remove'/>
   </query>
   <error code='404'>Namespace not found</error>
</iq>

or

<iq type='error'>
   <query xmlns='jabber:iq:private'>
     <remove xmlns='namespace/to/remove'/>
   </query>
   <error code='501'>Not Implemented</error>
</iq>


Thoughts?

--
Casey




More information about the Standards mailing list