From: Tony G. <Ton...@Su...> - 2006-03-28 14:04:25
|
As threatened, I have added "warning mode" to FoLibfoContext so you can select to suppress certain types of warnings. xmlroff now defaults to setting "warning mode" so it suppresses "unsupported property" messages (which makes redundant a large part of libfo-compat.xsl). You can currently set the warning mode on the xmlroff command line using '-w <integer>', similarly to how you can set the debug level. Magic numbers for debug level is fine (or, at least, not too bad) since if you're debugging, you're going to be exposed to all sorts of gory details anyway. Magic numbers for warning mode seems less fine, since even casual users might want to set the warning mode. xmlroff currently has three separate warning mode flags: 'fo', 'property', and 'unsupported property' (athough only 'unsupported property' currently modifies any behaviour). How should the warning mode be specified on the xmlroff command line? Regards, Tony. |