On 06/05/2008 2:57 PM, Dirk Meyer wrote: > Peter Saint-Andre wrote: >> On 06/05/2008 9:17 AM, Justin Karneges wrote: >>> I'm not sure about overloading the sid. A more-traditional >>> namespaced-element >>> approach should work just as well: >>> >>> <iq type='set' >>> from='[EMAIL PROTECTED]/orchard' >>> to='[EMAIL PROTECTED]/balcony' >>> id='inband_1'> >>> <open sid='mySID' >>> block-size='4096' >>> xmlns='http://jabber.org/protocol/ibb'> >>> <xtls xmlns='xtls-ns'/> >>> </open> >>> </iq> >> It seems that Justin and I are in agreement. :) > > Ok, not hardcoding the sid. My XML schema knowledge is very limited > but as far as I understand XEP-0047 you can not add an element inside > the open.
Well, we basically allow you to include an extension anywhere (it's the *extensible* messaging and presence protocol), but we don't always formally document that in the schemas because the person who makes all these schemas is lazy (c'st moi). >> Dirk, since you are working on this, perhaps you could send me an >> updated XML file and I could check it / clean it up a bit for XSF >> conformance / style issues? > > I will do that tomorrow. I will replace the hardcoded sid from the > last version I sent you with Justins idea, but I will leave out the > schema because I have no idea how to define xtls inside the open of > IBB. I will also update the text a bit and after that you can clean it > up. Super. Peter -- Peter Saint-Andre https://stpeter.im/
smime.p7s
Description: S/MIME Cryptographic Signature
