- An "optimization mode" should be provided. In this mode, only obvious optimizations should be done, for example constant folding.
Should this really be an API issue? Perhaps it could be better served by a system property that determined whether or nor optimizations were performed. This could be access from within code by those who cared about it, without cluttering the API.
--
Elliotte Rusty Harold [EMAIL PROTECTED] Processing XML with Java (Addison-Wesley, 2002) http://www.cafeconleche.org/books/xmljava http://www.amazon.com/exec/obidos/ISBN%3D0201771861/cafeaulaitA
