[Bug 2131] Fatal error handling for non-HTML output formats

http://www.w3.org/Bugs/Public/show_bug.cgi?id=2131





------- Comment #3 from ot@w3.org  2007-05-17 04:28 -------
Note on the issue: the brokenness mostly comes from sub
abort_if_error_flagged() which does not take into account outputs other than
html. 

The issue is somewhat alleviated for the soap output by a hack that passes all
the File->{Templates}->{Error}->param()s to the SOAPFault template, but it
would be good to rewrite this with a cleaner model where:

* for all of validation parameters are passed to only two html::template
objects (output and fatal error) - or only one.
* at output time, the template is assigned to a specific output

Received on Thursday, 17 May 2007 04:28:31 UTC