--- Begin Message ---
Henry Zongaro wrote:

Hello, Marc.

Marc Jambert <[EMAIL PROTECTED]> wrote on 2005-07-11 09:28:35 AM:
I am using the default Xalan XPath API bundled with Java 5.
Does anybody know if there is a way to disable DTM optimization
with the "http://apache.org/xalan/features/optimize"; feature
through JAXP ?

When you say "through JAXP," I assume you mean through the the JAXP XPath API, rather than the JAXP Transformation API. That feature has no effect on any of the XPath APIs supported by Xalan-J.
Well, yes, what I am using is the JAXP XPath API.

Are you encountering a problem that you believe is being caused by that feature?
It is very specific to a special implementation of DOM that I am writing for dealing with huge documents (each DOM node is created on demand and not necessarily kept in memory). I think that the DTM mechanism assumes that a DOM node will be always the same Java object, which is not the case for me. I have already XPath working over my custom DOM with Jaxen and Saxon but it would be nice if it could work as well with JAXP default implementation.

That is why would like to disable DTM mechanism. Do you think there is a solution ?


Thanks,

Henry
------------------------------------------------------------------
Henry Zongaro      Xalan development
IBM SWS Toronto Lab   T/L 969-6044;  Phone +1 905 413-6044
mailto:[EMAIL PROTECTED]







--- End Message ---

Reply via email to