You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by bu...@apache.org on 2001/03/07 18:51:25 UTC

[Bug 886] Changed - ElemExtensionCall.getAttribute with 3 arguments returns garbage when expression should evaluate to a blank string

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

*** shadow/886	Wed Mar  7 09:50:07 2001
--- shadow/886.tmp.8636	Wed Mar  7 09:51:25 2001
***************
*** 2,9 ****
  | ElemExtensionCall.getAttribute with 3 arguments returns garbage when expre |
  +----------------------------------------------------------------------------+
  |        Bug #: 886                         Product: XalanJ2                 |
! |       Status: NEW                         Version: 2.0.0                   |
! |   Resolution:                            Platform: All                     |
  |     Severity: Normal                   OS/Version: Other                   |
  |     Priority: Medium                    Component: org.apache.xalan.templa |
  +----------------------------------------------------------------------------+
--- 2,9 ----
  | ElemExtensionCall.getAttribute with 3 arguments returns garbage when expre |
  +----------------------------------------------------------------------------+
  |        Bug #: 886                         Product: XalanJ2                 |
! |       Status: RESOLVED                    Version: 2.0.0                   |
! |   Resolution: FIXED                      Platform: All                     |
  |     Severity: Normal                   OS/Version: Other                   |
  |     Priority: Medium                    Component: org.apache.xalan.templa |
  +----------------------------------------------------------------------------+
***************
*** 36,39 ****
      if (n != null && n.length() > 0 && v != null && v.length() > 0) { 
        params.add(new String[]{ n, v }); 
      } 
! }
--- 36,45 ----
      if (n != null && n.length() > 0 && v != null && v.length() > 0) { 
        params.add(new String[]{ n, v }); 
      } 
! }
! 
! ------- Additional Comments From garyp@firstech.com  2001-03-07 09:51 -------
! This was actually due to a bug in FastStringBuffer which was not properly 
! handling an append() call for a zero length string.
! 
! I've committed a change to CVS to fix this problem.