ietf-xml-mime
[Top] [All Lists]

Re: DTD media type?

1999-04-13 06:40:09


MURATA Makoto wrote:

Martin J. Duerst wrote:
Is there somewhere a web page where all these terms
are defined and explained with simple examples, or something similar?

Here is an imprecise-but-not-totally-inappropriate analogy.

XML documents are source programs.  [...]

This is a strikingly good analogy; I wish I had read your mail before
giving my tutorial today. Lots of people are familiar with programming;
it hadn't occurred to me to 

The BNF for XML documents and that for external DTD subsets are quite
different.  On the other hand, some external parsed entities are
legal XML documents, and some external parameter entities are legal
external DTD subsets.

Viewers for XML documents and viewers for external DTD subsets are
quite different.

This is a good summary. It shows that, for example, a generic XML parser
and router, as has been discussed on this list, would bot be able to
deal with external DTD subsets.

Since the parser is different (or rather, since the start token is
different) then using a parameter would not seem wise. Rather, a
different MIME type (for example, text/xml-xdtd ) would seem a better
choice. Or application/xml-xdtd if we decide that text/* is unusable for
XML.

We currently serve DTDs as text/plain on the W3C site; it would be
better to use a more descriptive type.

--
Chris

<Prev in Thread] Current Thread [Next in Thread>