Lists Home |
Date Index |
- From: "Rick Jelliffe" <firstname.lastname@example.org>
- To: "Peter Murray-Rust" <Peter@ursus.demon.co.uk>, <email@example.com>
- Date: Sun, 14 Sep 1997 20:27:12 +1000
> From: Peter Murray-Rust <Peter@ursus.demon.co.uk>
> I am not wanting to re-open this discussion/decision, but I'd be very
> grateful for clarification as to how a SytemID is used to identify the
> type of a NOTATION. If I wish to identify it as 'image/gif', how do I
> do this in practice?
Peter asked me to on-post this.
The standard way to stick a MIME type into a system identifier is
given as part of HyTime '97. First we have a notation declaration
(which is really only for documentation, so you don't need it
if you don't want it).
<!NOTATION mimetype PUBLIC "-//IETF/RFC1521//NOTATION
MIME Content Type//EN"><!-- Refer RFC 1700 -->
This notation declaration allows us to use "mimetype" in
Formal System Identifiers, which are system identifiers with
little pseudo-start tags giving the notation used in the rest
of the string. So we can then declare the notation "gif"
to be the mime type "image/gif" by
<!NOTATION gif SYSTEM "<mimetype>Content-Type=image/gif">
A full form for this with both public and system identifiers
<!NOTATION gif PUBLIC
"ISBN 0-7923-91::Graphic Notation//NOTATION
Compuserve Graphic Interchange Format//EN"
Presumably you could also stick other MIME parameters in also,
after semicolons, e.g.
PUBLIC "-//IETF/RFC1521//NOTATION MIME Content Type Multipart Mixed//EN"
(There is also provision of a notation called simply "mime", which
can be used for burrowing into a MIME file for specific parts. )
xml-dev: A list for W3C XML Developers
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To unsubscribe, send to firstname.lastname@example.org the following message;
List coordinator, Henry Rzepa (email@example.com)