OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Images embedded in XML

Seairth Jacobs wrote:

> Why not use a CDATA section, as in:
>     <![CDATA[image binary here]]>

Because characters in the range 0x00 to 0x1F, other than CR, LF, TAB,
can't be used in XML files at all, not even as &#x0; or the like.
You have to encode them with Base64 or some private hack.

There is / one art             || John Cowan <jcowan@reutershealth.com>
no more / no less              || http://www.reutershealth.com
to do / all things             || http://www.ccil.org/~cowan
with art- / lessness           \\ -- Piet Hein