[Home] [By Thread] [By Date] [Recent Entries]

  • From: "Borden, Jonathan" <jborden@m...>
  • To: "John Cowan" <cowan@l...>, <xml-dev@i...>
  • Date: Fri, 19 Feb 1999 06:59:57 -0500

John Cowan wrote:
>
>
> Borden, Jonathan scripsit:
>
> > 	XMTP is an XML <-> MIME mapping which transforms SMTP
> messages into XML.
> > The mapping is described at
> http://jabr.ne.mediaone.net/documents/xmtp.htm
>
> Very interesting stuff.  However, the DTD will not do, and indeed this
> is an application that *shouldn't* really have a DTD, IMHO.
>
> Your DTD treats "ANY" as a general-purpose wildcard in content models,
> for example: <!ELEMENT BODY (#PCDATA|PARTS|ANY)*>.  That won't work.
> ANY is treated as a wildcard only when it forms the entire content model,
> e.g. <!ELEMENT MORE ANY>.  The use you make of it is syntactically
> correct, but ANY will be interpreted as an element name, not what you
> want!

	The DTD is now history. There is also no reason not to CDATA all non-XML
bodies instead of escaping.

	Thanks for the feedback.

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


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...)


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member