[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: FW: XML Mail

  • From: "Borden, Jonathan" <jborden@m...>
  • To: "XML Dev" <xml-dev@i...>
  • Date: Tue, 23 Feb 1999 21:03:47 -0500

text xml email
I have modified XMTP to wrap non text/xml bodies in <![CDATA[ sections. The
problem with text/html is that it is not required to be well-formed ... that
is there may be missing start and or end tags ... for this reason the
correct way to convert text/html sections into XML is to either escape or
CDATA wrap the section.

text/xml sections need not be wrapped.

if you see http://jabr.ne.mediaone.net there are instructions on several
XMTP (XML E-mail) demos so that you can test these concepts yourself.

BTW: ]]&gt; is not an acceptable transformation for ]]> within a CDATA
section because this is interpreted literally as ]]&gt;, John Cowan's
suggestion of converting ]]> into ]]]]><![CDATA[> is the one I have adopted.

so, XMTP *does* recognize markup, as either XML by virtue of the
content-type: text/xml or as text containing lots of < and > to be escaped.

Jonathan Borden
http://jabr.ne.mediaone.net

>
> Sorry to revive a dead thread, but I'm making progress
> on the subject, so I'd like your feedback.
>
> To which David Megginson wrote:
>
> > Wrong -- or, to put it differently, it should leave content with
> > text/html and text/xml alone, but it should not try to recognise
> > markup in text/plain.
>
> Then, Parand Tony Darugar <tdarugar@b...> and
> Jonathan Borden <jborden@m...> posted their
> current implementations of such a monster.
>
> The debate then swung as to how to treat the "body"
> of the e-mail.  Most people agreed that it was some
> sort of CDATA thing, where "]]>" in the text body
> would become "]]&gt;"
>
> My question:
>
>   Isn't there a way to do smart stuff like #2 ?
>
> For example, look at Didier's post below.
> It'd be slick to have the XMLMail program
> recognize his markup.
>
> For my example, I'd like to "embeed" bookkeeping
> information in my e-mail.  If the e-mail leaves
> the 'organization', the bookkeeping is stripped.
>
...
>
> Then I can run all of my e-mail through my
> journal, which then hits my ledger, and accounts
> for my time appropriately.  I'm actually very
> serious about this...
>
> Best,
>
> Clark
>
> XML, it's not just for computers anymore.



xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.