There is two parts in the XPath API: the definition of the API itself and its implementation. I agree that the optimization mode is not exposed in the API.

Thanks for your comments!
Lionel Villard
IBM Research.



Elliotte Rusty Harold <[EMAIL PROTECTED]>

08/10/2003 07:04 AM
Please respond to xalan-dev

       
        To:        [EMAIL PROTECTED]
        cc:        
        Subject:        Re: XPath API issues and plans



At 2:08 PM -0400 7/25/03, Lionel Villard wrote:


- 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

Reply via email to