W3C home > Mailing lists > Public > xml-dist-app@w3.org > September 2000

Re: Removal (Time for XMail?)

From: Bill la Forge <b.laforge@jxml.com>
Date: Fri, 29 Sep 2000 13:00:29 -0400
Message-ID: <017c01c02a36$c5a24300$016910ac@quick>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:58:57 GMT