Hi Stephan, On Sunday November 4 2007, Stephan Maka wrote: > Tomasz Sterna wrote: > > <xtls xmlns='http://www.xmpp.org/extensions/xep-xxxx.html#ns'> > > base_64(TLS-Client-Hello-Message) > > </xtls> > > > > Damn that we STILL do not have an effective way of transmitting binary > > data over XMPP, and we need to resort to BASE64, run it through parser > > and serializer... > > How about converting the non-printable characters to numerical entities? > > It's common to use <xsl:text> </xsl:text> when generating text > formats with XSLT. &0; should work, too.
No, that doesn't work. From the XML 1.0 spec: "Characters referred to using
character references must match the production for Char."
and:
"Char ::= #x9 | #xA | #xD | [#x20-#xD7FF] |
[#xE000-#xFFFD] | [#x10000-#x10FFFF]"
Jakob
signature.asc
Description: This is a digitally signed message part.
