OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: FW: XML Mail

[ Lists Home | Date Index | Thread Index ]
  • From: "Borden, Jonathan" <jborden@mediaone.net>
  • To: "XML Dev" <xml-dev@ic.ac.uk>
  • Date: Tue, 23 Feb 1999 21:03:47 -0500

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@binevolve.com> and
> Jonathan Borden <jborden@mediaone.net> 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@ic.ac.uk
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@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)


  • References:



 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS