Simon Pepping wrote:
On Tue, Jan 23, 2007 at 05:30:18PM +0000, Adrian Cumiskey wrote:
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?
Well I prefer the idea of re-using the relaxed validation setting to
determine the behaviour when invalid URLs are detected in the config.
Introducing another setting only bewilders users with too many options
of a very similar nature.
Discovering an error in the configuration file is not immediately
bad.
Yes I agree.
The severity can only be judged when the error has consequences:
- Not being able to find the font file, resulting in an unusable PDF
file merits an exception.
Agreed.
- Not being able to find a graphic, resulting in it not being included
in the result file, merits a severe error or an exception, depending
on the user's preferences.
At least a warning maybe a SEVERE if relaxed validation is off.
- A nonexistent metrics file URL for a font that is not used is not a
problem.
Agreed.
- A nonexistent metrics file URL for a font that is used is currently
well handled with an error message.
Um... I'm not so sure. Look at the bugs Adrian mentions below.
http://issues.apache.org/bugzilla/show_bug.cgi?id=40120
http://issues.apache.org/bugzilla/show_bug.cgi?id=40288
Chris
<snip/>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]