Re: unescaping markup

/ Alex Milowski <alex@milowski.org> was heard to say:
| Well, keep in mind that you can't "parse"  element content as image/png
| and so all image/* media types wouldn't make sense.

Wanna bet?

<?xml version='1.1'?>
<image>
&#x50;&#x89;&#x47;&#x4e;&#x0a;&#x0d;&#x0a;&#x1a;&#xff;&#x01;
&#xff;&#x01;&#x0d;&#xff;&#x01;&#x48;&#x49;&#x52;&#x44;&#xff;
&#x01;&#xff;&#x01;&#x0a;&#xff;&#x01;&#xff;&#x01;&#xff;&#x01;
&#x0a;&#xff;&#x01;&#x02;&#x08;&#xff;&#x01;&#xff;&#x01;&#x02;
&#xff;&#x01;&#x58;&#x50;&#xff;&#x01;&#xea;&#xff;&#x01;&#xff;
&#x01;&#x70;&#x09;&#x59;&#x48;&#xff;&#x01;&#x73;&#x0b;&#xff;
&#x01;&#xff;&#x01;&#x13;&#x0b;&#xff;&#x01;&#x01;&#x13;&#x9a;
&#xff;&#x01;&#x18;&#x9c;&#xff;&#x01;&#xff;&#x01;&#x07;&#xff;
&#x01;&#x49;&#x74;&#x45;&#x4d;&#xd7;&#x07;&#x0f;&#x05;&#x0e;
&#x0f;&#x7e;&#x37;&#xd6;&#x0e;&#xff;&#x01;&#xad;&#xff;&#x01;
&#xff;&#x01;&#x74;&#x1d;&#x58;&#x45;&#x43;&#x74;&#x6d;&#x6f;
&#x65;&#x6d;&#x74;&#x6e;&#x43;&#xff;&#x01;&#x65;&#x72;&#x74;
&#x61;&#x64;&#x65;&#x77;&#x20;&#x74;&#x69;&#x20;&#x68;&#x68;
&#x54;&#x20;&#x65;&#x49;&#x47;&#x50;&#x4d;&#x64;&#xef;&#x6e;
&#x25;&#xff;&#x01;&#xff;&#x01;&#x27;&#xff;&#x01;&#x44;&#x49;
&#x54;&#x41;&#xd3;&#x18;&#xfc;&#x63;&#xff;&#xff;&#xff;&#xff;
&#x03;&#x3f;&#xc0;&#x6e;&#x80;&#xc4;&#x10;&#x17;&#xcd;&#x27;
&#xc8;&#xc8;&#x46;&#x88;&#x68;&#x92;&#xb2;&#x38;&#x2c;&#x26;
&#x58;&#xd2;&#xc0;&#xbd;&#x4b;&#x48;&#x01;&#x8f;&#x10;&#xff;
&#x01;&#x09;&#x22;&#xb0;&#x16;&#x4d;&#x12;&#xff;&#x01;&#xbc;
&#xff;&#x01;&#xff;&#x01;&#x49;&#xff;&#x01;&#x4e;&#x45;&#xae;
&#x44;&#x60;&#x42;
</image>

This requires a bit of special processing but with a special
content-type, I could decode it.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com> | Man is the only animal who causes pain
http://nwalsh.com/            | to others with no other object than
                              | wanting to do so.-- Schopenhauer

Received on Tuesday, 15 May 2007 16:00:40 UTC