Hi Andreas,
I like this idea and suggest adding a new configuration variable called
'strict-config' with a default value of false. What does everyone else
think?
regards,
Adrian.
Andreas L Delmelle wrote:
On Jan 23, 2007, at 15:06, Adrian Cumiskey wrote:
Hi Adrian,
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.
I personally prefer this, but would also agree with an intermediate
solution, where the user can flip a switch on the FopFactory or the
FOUserAgent to have them propagate the exception if it occurs...
(analogous to strict or relaxed validation).
Just my 2 cents...
Cheers,
Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]