[Standards] ACTIVE: XEP-0239 (Binary XMPP)

Peter Saint-Andre stpeter at stpeter.im
Wed Apr 2 23:03:28 UTC 2008

Joe Hildebrand wrote:
> As well, the text doesn't adequately specify the translation from XML to
> binary.  I would recommend text like:
> To convert from traditional XMPP to bxmpp, the UTF-8 encoded representation
> that would have been transmitted is converted an octet at a time into a
> binary representation.  Each input octet (with value from 0-255) MUST be
> converted into exactly 8 XML elements (with value of <zero/> or <one/>),
> with the most significant bit coming first.  For example, to send the
> character '>', it is UTF-8 encoded octet with decimal value 62, which turns
> into the XML representation of 00111110:
> <zero/><zero/><one/><one/><one/><one/><one/><zero/>.

Fixed, thanks for the suggested text, that's always appreciated. :)


Peter Saint-Andre

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

More information about the Standards mailing list