Upgrade of W3C Reference Library

I updated to the library 4.0D, and again got lost with my converters.

With 4.0B, the following set

	HTConversion_add(conv,"text/*","*/*", TextObject, 1.0,0.0,0.0);
	HTConversion_add(conv,"image/*","*/*", ImageObject, 1.0,0.0,0.0);
	HTConversion_add(conv,"message/rfc822","*/*",
			 HTMIMEConvert,1.0,0.0,0.0);
	HTConversion_add(conv,"text/html","*/*", HtmlObject, 1.0,0.0,0.0);

got me a call to HtmlObject for "text/html".

Now, the *same* code linked against the 4.0D library gives from the
same document a call to TextObject (and when I print the
input_format->name, it is "text/x-http"). What changed? Why this
happens?

The new HTLine.c seems to add a new thing, what was not there before

 HTConversion_add(conv,"text/x-http","*/*",HTTPStatus_new,1.0, 0.0, 0.0);

This is now required for my scheme to work? Because, when I added
this, the program started to work again.

However, I would like to know why. What should I read to get a better
idea what happens with these conversions (something that would
describe what the matching rules are, how the parameters of the
HTConversion_add are actually used?)

--
Markku Savela (msa@hemuli.tte.vtt.fi),     Technical Research Centre of Finland
Multimedia Systems, P.O.Box 1203,FIN-02044 VTT,http://www.vtt.fi/tte/staff/msa/

Received on Tuesday, 13 February 1996 09:03:14 UTC