Leaving aside the question of allowable Unicode characters, binary data (by definition) contains octets that cannot reasonably be interpreted as characters at all. For example, the first poster's GIF.
Since the point of XML is to be a self-delimiting stream of markup and text, binary data doesn't fit. Hence the need either to bury it in a base-64 slab, or to use an entity reference.
Oh I see, I mean I realise that. I was just wondering if 'especially control characters' implies that there other characters aside from control characters that are not allowed in an XML document.
S.
> >Even though XML is based on Unicode, it does not allow all > >Unicode characters (especially control characters) in an XML > >document. > > Possibly a daft question, but why is that? > > >So you have to encode and decode binary content in > >a form that uses only characters allowed in the XML document. > >Base64 and UUEncode are two good options. > > > >-- > >Andy Clark * [EMAIL PROTECTED] > > > >--------------------------------------------------------------------- > >To unsubscribe, e-mail: [EMAIL PROTECTED] > >For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > >--- > >Incoming mail is certified Virus Free. > >Checked by AVG anti-virus system (http://www.grisoft.com). > >Version: 6.0.351 / Virus Database: 197 - Release Date: 19/04/2002 > > > Cliff Rowley
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.351 / Virus Database: 197 - Release Date: 19/04/2002
Cliff Rowley
Tel: +44 (0) 1206 514263 Email: [EMAIL PROTECTED] Web: http://www.onsea.net
--- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.351 / Virus Database: 197 - Release Date: 19/04/2002
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
