http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2355

*** shadow/2355 Fri Jun 29 05:43:36 2001
--- shadow/2355.tmp.18982       Wed Jul  4 03:26:47 2001
***************
*** 2,9 ****
  | VariableStack access by QName                                              |
  +----------------------------------------------------------------------------+
  |        Bug #: 2355                        Product: XalanJ2                 |
! |       Status: RESOLVED                    Version: 2.0.x                   |
! |   Resolution: FIXED                      Platform: All                     |
  |     Severity: Enhancement              OS/Version: All                     |
  |     Priority: Other                     Component: Xalan                   |
  +----------------------------------------------------------------------------+
--- 2,9 ----
  | VariableStack access by QName                                              |
  +----------------------------------------------------------------------------+
  |        Bug #: 2355                        Product: XalanJ2                 |
! |       Status: REOPENED                    Version: 2.0.x                   |
! |   Resolution:                            Platform: All                     |
  |     Severity: Enhancement              OS/Version: All                     |
  |     Priority: Other                     Component: Xalan                   |
  +----------------------------------------------------------------------------+
***************
*** 26,29 ****
  of a hack (because it has visibility of the Xalan package) but ought to do the 
  trick for now.  Unfortunately, this didn't make it into the developer's release 
  being posted today, but will be in the next release.  Please refresh from CVS 
! and give it a try.
--- 26,45 ----
  of a hack (because it has visibility of the Xalan package) but ought to do the 
  trick for now.  Unfortunately, this didn't make it into the developer's release 
  being posted today, but will be in the next release.  Please refresh from CVS 
! and give it a try.
! 
! ------- Additional Comments From [EMAIL PROTECTED]  2001-07-04 03:26 -------
! The code now compiles, but doesn't run. The problem is that my extension
! function gets passed an ExpressionContext object, but it appears that that
! object can no longer be cast to an XPathContext. Looking at the API docs, it 
! appears that it could be cast to an XPathContext.XPathExpressionContext,
! but I don't see how that helps.
! 
! FWIW, this used to work:
! 
!       ...signature(ExpressionContext context, ...) {
!       XPathContext xpc = (XPathContext) context;
!       XObject var = xpc.getVariable(new QName(varName));
! 
! I'm open to suggestions, especially if there are less fragile mechanisms for
! getting an XPathContext from an ExpressionContext.

Reply via email to