Re: Foreign object inclusion WAS: Namespaces, Architectural

Tim Bray (tbray@textuality.com)
Thu, 05 Feb 1998 13:39:11 -0800


David Megginson wrote:

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