W3C home > Mailing lists > Public > www-lib@w3.org > October to December 2000

Re: directing HTML error messages to a stream

From: Steinar Bang <sb@metis.no>
Date: 04 Nov 2000 13:06:34 +0100
To: www-lib@w3.org
Message-ID: <whlmv09c1h.fsf@viffer.computas.no>
>>>>> Steinar Bang <sb@metis.no>:

> I have called HTConversion_add() for "text/html" with a function that
> creates a stream objects which displays the content of the HTML object
> in a QMessageBox warning dialog
> 	<http://doc.trolltech.com/qmessagebox.html>
> relying on Qt's RichText formatting to handle HTML.

> This works fine when loading an actual text/html documents.

> But return codes other than 200, which has a piggy backed text/html
> document containing an error message, disappears into a black hole.

> Do I have to register a handler for a different format than text/html
> to get these error messages?  Or do I have to hook into a completely
> different place?  It isn't it possible to get hold of these documents?

I tried registering a handler for www/debug, which the comments in
HTFormat.h seems to indicate fills this requirement.

But the error messages still disappears in a black hole.
Received on Saturday, 4 November 2000 07:07:10 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:33:53 UTC