Hi, Max Berger wrote: > Jeremias, > > not that fop is on 1.4: AFAIK this is what assert statements are for: > Add checks for things which *should not happen*, such as contract > violations.
Yeah, I would probably add an assert statement, and if asserts are not enabled a NPE will be thrown anyway. But like for IllegalStateException that will probably also cause any prior exception to be swallowed by Xalan? So I guess the current situation is ok. <snip/> Vincent -- Vincent Hennebert Anyware Technologies http://people.apache.org/~vhennebert http://www.anyware-tech.com Apache FOP Committer FOP Development/Consulting
