[jdev] Stream Initiation: extension

Mats Bengtsson matben at privat.utfors.se
Thu Sep 27 08:01:54 CDT 2007

Dave Cridland wrote:
> On Thu Sep 27 08:18:14 2007, Mats Bengtsson wrote:
>> While I was trying to implement the SVG graphics model in my whiteboard
>> I was getting problems with elements that have an external reference.
>> In short, SVG images typically have a xlink:href attribute with a HTTP
>> link which wont work in a XMPP environment with p2p interaction due to
>> NATs, firewalls etc. A typical SVG image element looks like:
>> <image x='32.0' y='32.0'       
>> xlink:href=''       id='158229644' 
>> width='128' height='128'/>
> I haven't read your message in detal, quite yet, but is it possible to 
> use data scheme URIs?

We don't want to send data (base64 encoded) through the server unless it is the last resort.
This is practically identical to ibb. Best is to stay with p2p transports as far as possible.
Even proxied bytestreams are better than base64 encoded data.

Most of this will be solved by jingle transports, eventually.


More information about the JDev mailing list