I am investigating some bugs with bad FOP configurations..

http://issues.apache.org/bugzilla/show_bug.cgi?id=40120
http://issues.apache.org/bugzilla/show_bug.cgi?id=40288

In your opinion, on initialization if the FopFactory and FOUserAgent discover that they have bad configurations (e.g. malformed (base) urls, urls that reference non-existent content), should they :-

a) Catch exceptions (ConfigurationException) and log SEVERE errors and silently continue.

*or*

b) SEVERE errors are logged and exceptions are thrown and not caught to terminate further processing.

If it is case 'a' then it is more difficult to write unit tests to test these bad configurations.


Adrian.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to