Re: Charset labelling (Was: Comments on: "Character Set" Considered Harmful)

Terry Allen (terry@ora.com)
Fri, 28 Apr 95 10:50:34 EDT

SGML Open has defined a catalog format for collecting information about
an SGML entity or entities. One could construct such a catalog file
for each of the HTML files you want to serve (perhaps even those composed
on the fly), and register that catalog file (not the HTML file) with
your server. That batch of info can include a pointer to the SGML decl
(which tells the server about charset stuff) as well as a pointer to the
HTML file, etc. Then your server constructs the HTTP info from (a
preparsed representation of the relevant info to be derived from)
that catalog file.

Your server is going to have to know about its files without parsing
the files themselves, if much of this content negotiation stuff
is going to work. Doesn't that imply registering them in some such
fashion?

Regards,

-- 
Terry Allen  (terry@ora.com)   O'Reilly & Associates, Inc.
Editor, Digital Media Group    101 Morris St.
			       Sebastopol, Calif., 95472
occasional column at:  http://gnn.com/meta/imedia/webworks/allen/

A Davenport Group sponsor. For information on the Davenport Group see ftp://ftp.ora.com/pub/davenport/README.html or http://www.ora.com/davenport/README.html