[
Lists Home |
Date Index |
Thread Index
]
- From: "Borden, Jonathan" <jborden@mediaone.net>
- To: "John Cowan" <cowan@locke.ccil.org>, <xml-dev@ic.ac.uk>
- 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@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)
|