|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: FW: XML Mail
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...)
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








