[Telepathy] The XMPP implementation of Tubes

Simon McVittie simon.mcvittie at collabora.co.uk
Thu Aug 23 05:40:47 PDT 2007


On Thu, 23 Aug 2007 at 12:11:30 +0100, Dafydd Harries wrote:
> Ar 15/08/2007 am 13:57, ysgrifennodd Simon McVittie:
> > Any thoughts on the issue of inability to send string parameters
> > containing non-XML control characters? (1-31 minus a few - D-Bus already
> > guarantees no NULs in a string, so 0 isn't a problem)
> 
> Can we just entity-escape them? (#x01; etc.)

No, we can't. REC-xml says:

Char ::= #x9 | #xA | #xD | [#x20-#xD7FF] | [#xE000-#xFFFD] | [#x10000-#x10FFFF]

and says:

Well-formedness constraint: Legal Character

Characters referred to using character references MUST match the
production for Char.

So XML can't represent "\x01" at all :-(

	Simon


More information about the Telepathy mailing list