- From: Bill la Forge <b.laforge@jxml.com>
- Date: Fri, 29 Sep 2000 13:00:29 -0400
- To: <xml-dist-app@w3.org>
If I have x----x]]>x----x then my CDATA logic produces <!CDATA[x----x]]>]]><!CDATA[x----x]]> This works great, and its easy to scan for any ]]> and take care not to wrap them in a CDATA section. B ----- Original Message ----- From: "Ed Mooney" <Ed.Mooney@Sun.COM> To: "Fredrik Lundh" <fredrik@pythonware.com> Cc: <xml-dist-app@w3.org> Sent: Friday, September 29, 2000 10:27 AM Subject: Re: Removal (Time for XMail?) > 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 "]]>"). However, MIME allows > for encodings of binary formats where you couldn't be predict where such > markup (]]>) would appear. > > -- Ed > > >>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<< > > On 9/29/00, 9:51:23 AM, Fredrik Lundh <fredrik@pythonware.com> wrote > regarding Re: Removal (Time for XMail?): > > > ed wrote: > > > > I can see with a SOAP message the ability to not only carry > > > > relevant MIME data (as a CDATA section, for instance) > > > > > > This doesn't work if your MIME data contains a CDATA delimiter (]]>). > > > so use two CDATA sections: > > > <![CDATA[data]]]><![CDATA[]>data]]> > > > (the first section contains "data]", the second "]>data") > > > </F> > >
Received on Friday, 29 September 2000 12:55:47 UTC