Re: Public IDs for notations in XML

Terry Allen wrote:
> 
> Eliot writes:
> | Notation declarations consist of a notation name followed by an external
> | identifier.  The external identifier consists of either the keyword
> | "SYSTEM" followed by a literal containing a MIME type specification or the
> | keyword "PUBLIC" followed by a literal containing a public identifier
> | followed by a literal containing a MIME type specification.
> 
> Executive summary:  you don't need either.
> 
> If the "MIME type specification" is a registered MIME type, then
> PUBLIC is appropriate.  If not, SYSTEM is.  But really, you
> shouldn't need either so long as you say that notation declarations
> must be MIME types:
> 
> <!notation jaypeg "image/jpeg">
> <!notation mypeg "x-mypeg">

Happy until the "must be".  Notation declarations are more than 
MIME types in SGML.  To me, MIME type means internet, not intranet.

How does an XML handler know that an XML document is of a different type 
in the sense of DOCTYPE if a <!DOCTYPE is not in the instance in 
the case of DTDless XML?

len

Received on Friday, 13 December 1996 22:53:32 UTC