Re: [taglibs] XPath support

2010-12-21 Thread Rex Wang
2010/10/3 Jeremy Boynes > On Jul 15, 2010, at 12:19 AM, Henri Yandell wrote: > > > On Wed, Jul 14, 2010 at 8:45 PM, Jeremy Boynes > wrote: > >> On Jul 12, 2010, at 7:04 PM, Jeremy Boynes wrote: > >> > >>> I'm going to ping Xalan about the increase in time taken as expressions > are evaluated as

Re: [taglibs] XPath support

2010-10-02 Thread Jeremy Boynes
On Jul 15, 2010, at 12:19 AM, Henri Yandell wrote: > On Wed, Jul 14, 2010 at 8:45 PM, Jeremy Boynes wrote: >> On Jul 12, 2010, at 7:04 PM, Jeremy Boynes wrote: >> >>> I'm going to ping Xalan about the increase in time taken as expressions are >>> evaluated as I would assume I'm doing something

Re: [taglibs] XPath support

2010-07-15 Thread Henri Yandell
On Wed, Jul 14, 2010 at 8:45 PM, Jeremy Boynes wrote: > On Jul 12, 2010, at 7:04 PM, Jeremy Boynes wrote: > >> I'm going to ping Xalan about the increase in time taken as expressions are >> evaluated as I would assume I'm doing something silly. > > I looked into the Xalan implementation and the p

Re: [taglibs] XPath support

2010-07-14 Thread Jeremy Boynes
On Jul 12, 2010, at 7:04 PM, Jeremy Boynes wrote: > I'm going to ping Xalan about the increase in time taken as expressions are > evaluated as I would assume I'm doing something silly. I looked into the Xalan implementation and the problem appears to be in creation of the DTM used by the underl

Re: [taglibs] XPath support

2010-07-12 Thread Jeremy Boynes
On Jul 12, 2010, at 1:08 AM, Mark Thomas wrote: > On 12/07/2010 06:40, Jeremy Boynes wrote: >> Implementation seems to work but does not provide as much benefit as >> expected. Jasper tag pooling does not pool tags with the same attribute >> values so the select attribute is set every time causin

Re: [taglibs] XPath support

2010-07-12 Thread Mark Thomas
On 12/07/2010 06:40, Jeremy Boynes wrote: > Implementation seems to work but does not provide as much benefit as > expected. Jasper tag pooling does not pool tags with the same attribute > values so the select attribute is set every time causing recompilation. The > time taken to iterate 1000 t

Re: [taglibs] XPath support

2010-07-11 Thread Jeremy Boynes
Implementation seems to work but does not provide as much benefit as expected. Jasper tag pooling does not pool tags with the same attribute values so the select attribute is set every time causing recompilation. The time taken to iterate 1000 tags drops from around 2800ms to 1800ms. To work a

Re: [taglibs] XPath support

2010-07-10 Thread Jeremy Boynes
I've added two attachments to bug 27717 https://issues.apache.org/bugzilla/show_bug.cgi?id=27717 that show ExprSupport updated to use the JAXP XPath API to precompile expressions and an implementation of an XPathVariableResolver that handles the JSTL variable resolution scheme. There are ver

Re: [taglibs] XPath support

2010-07-09 Thread Henri Yandell
On Fri, Jul 9, 2010 at 12:51 PM, Jeremy Boynes wrote: > In light of the performance issues logged against the XML taglib and > functional issues like #49578, I was looking at refactor the XML tags to use > the JAXP XPath API to pre-compile expressions and dynamically resolve > variables. I thin

[taglibs] XPath support

2010-07-09 Thread Jeremy Boynes
In light of the performance issues logged against the XML taglib and functional issues like #49578, I was looking at refactor the XML tags to use the JAXP XPath API to pre-compile expressions and dynamically resolve variables. I think this can be done fairly easily and will eliminate a lot of th