Foreign object inclusion WAS: Namespaces, Architectural Forms, and Sub-Documents

Tim Bray tbray at textuality.com
Thu Feb 5 21:38:55 GMT 1998


David Megginson wrote:

> <object notation="uuencoded">
> begin 644 para
> M66]U(&%R92!Q=6ET92!R:6=H="!T:&%T('1H:7,@:7,@;&5G86P at 6$U,(&]R
> M(%-'34P at +2T@=&AA="=S(&]N92!V86QI9`IU<V4@;V8 at 3D]4051)3TX at 871T
> J<FEB=71E<RX at 2&5R92=S('1H:7,@<&%R86=R87!H(%5514Y#3T1%1#H*
> `
> end
> </object>

Don't want to be pedantic, but for this to work you need at least
<object notation='uuencoded'>
<![CDATA[
begin 644 para
M66]U(&%R92!Q=6ET92!R:6=H="!T:&%T('1H:7,@:7,@;&5G86P at 6$U,(&]R
M(%-'34P at +2T@=&AA="=S(&]N92!V86QI9`IU<V4@;V8 at 3D]4051)3TX at 871T
J<FEB=71E<RX at 2&5R92=S('1H:7,@<&%R86=R87!H(%5514Y#3T1%1#H*
`
end]]>
</object>

I'm sure you can see why.  But in the general case not even
that works, because uuencode will be sure to emit the occasional
"]]>".  Neither SGML nor XML really have any facilities designed
to support in-line inclusion of foreign objects.  Yes, this
is irritating. -Tim


xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)




More information about the Xml-dev mailing list