On Nov 10, 2007, at 00:38, Peter Saint-Andre wrote:

URL: http://www.xmpp.org/extensions/inbox/data-element.html

See, that was easy, wasn't it? ;-)

I can see three issues here:
1. Your extension doesn't have any namespace and doesn't use the x- element. 2. URLs are limited to 1024 bytes IIRC, so your 10k limit can not be reached. If you go into the trouble of inventing a new element for it, why not put the base64-data between the tags?

<message from='[EMAIL PROTECTED]/castle' to='[EMAIL PROTECTED] ' type='groupchat'>
        <body>Yet here's a spot.</body>
<data type='image/png;base64' alt="A spot.">iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAABGdBTUEAALGP C/ xhBQAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9YGARc5KB0XV+IA AAAddEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIFRoZSBHSU1Q72QlbgAAAF1J REFUGNO9zL0NglAAxPEfdLTs4BZM4DIO4C7OwQg2JoQ9LE1exdlYvBBeZ7jq ch9// q1uH4TLzw4d6+ErXMMcXuHWxId3KOETnnXXV6MJpcq2MLaI97CER3N0 vr4MkhoXe0rZigAAAABJRU5ErkJggg==</data>
</message>

3. Your data tag in the example starts with a ' but ends with a ". (ok, that's nitpicking)

andy

Reply via email to