DO NOT REPLY [Bug 27717] very slow in JSTL 1.1

2010-12-23 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=27717

Jeremy Boynes  changed:

   What|Removed |Added

  Attachment #25749|0   |1
is obsolete||
  Attachment #25750|0   |1
is obsolete||

--- Comment #21 from Jeremy Boynes  2010-12-23 15:11:18 EST 
---
Created an attachment (id=26445)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=26445)
Patch to use JAXP XPath support

Patch attached to abstract the XPath API and provide an implementation using
JAXP XPath.

However, there is a issue with  as it does not appear JAXP's XPath class
can return the actual result type of the XPath expression - it requires
coercion to specific return type. This breaks the contract for  where
the variable needs to be set to the actual return type.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[taglibs] Trying to use JAXP XPath instead of raw Xalan

2010-12-23 Thread Jeremy Boynes
On Dec 22, 2010, at 1:01 AM, Rex Wang wrote:
>>> 
>>> Why not move to the standard api in jdk instead of defining new apis and
>>> wrappers?


I put together an API to abstract the XPath implementation and tried to use the 
JAXP XPath support; see
https://issues.apache.org/bugzilla/show_bug.cgi?id=27717#c21 

There's a problem in JAXPXPathExpression#evaluateObject() where it needs to 
return the actual result of evaluating the XPath (boolean, String, Number or 
"node-set"). However, the XPath API requires you to specify a specific return 
type:

http://download.oracle.com/javase/6/docs/api/javax/xml/xpath/XPathExpression.html#evaluate(java.lang.Object,%20javax.xml.namespace.QName)

Any ideas on how to work around that would be appreciated, otherwise we will be 
forced to use a proprietary API.

Cheers
Jeremy



DO NOT REPLY [Bug 50518] New: jps.exe and jvisualvm.exe cannot detect tomcat using jdk1.6.0_23

2010-12-23 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=50518

   Summary: jps.exe and jvisualvm.exe cannot detect tomcat using
jdk1.6.0_23
   Product: Tomcat 7
   Version: unspecified
  Platform: PC
Status: NEW
  Severity: normal
  Priority: P2
 Component: Catalina
AssignedTo: dev@tomcat.apache.org
ReportedBy: zhouyanm...@gmail.com


jdk1.6.0_20 works fine,maybe this is a bug of jdk1.6.0_23
I hope tomcat team could explain why,thanks.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org