- From: Ed Mooney <Ed.Mooney@Sun.COM>
- Date: Mon, 02 Oct 2000 13:40:54 GMT
- To: Fredrik Lundh <fredrik@pythonware.com>
- CC: <xml-dist-app@w3.org>
It was I who missed your point. I get it now. -- Ed >>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<< On 10/2/00, 6:02:11 AM, Fredrik Lundh <fredrik@pythonware.com> wrote regarding Re: Removal (Time for XMail?): > Ed wrote: > > Even if you knew in advance how many CDATA delimiters your data > > contained, this wouldn't work because the data itself contains markup > > (]]>) that wouldn't be passed along to the application. That is, what > > you're indicating as "data]" has an imbedded "]]>"). > Sorry, I don't get it. With the encoding I described, the parser passes > a number of CDATA sections to the application. In the simple case (one > embedded ]]>), the application gets one section ending with "]", and > another starting with "]>". With Bill's alternate encoding, it gets three > sections (CDATA followed by character data followed by CDATA). > > However, MIME allows for encodings of binary formats where you couldn't > > be predict where such markup (]]>) would appear. > There's no need to predict anything -- just put CDATA delimiters around > the whole thing, and encode embedded ]]>'s when you see them... > What am I missing? > </F>
Received on Monday, 2 October 2000 09:40:59 UTC