PLEASE DO NOT REPLY TO THIS MESSAGE. TO FURTHER COMMENT
ON THE STATUS OF THIS BUG PLEASE FOLLOW THE LINK BELOW
AND USE THE ON-LINE APPLICATION. REPLYING TO THIS MESSAGE
DOES NOT UPDATE THE DATABASE, AND SO YOUR COMMENT WILL
BE LOST SOMEWHERE.

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

*** shadow/2684 Wed Jul 18 21:04:08 2001
--- shadow/2684.tmp.6309        Wed Aug 29 14:04:23 2001
***************
*** 2,9 ****
  | StringIndexOutOfBoundsException is trailing illegal quote                  |
  +----------------------------------------------------------------------------+
  |        Bug #: 2684                        Product: XalanJ2                 |
! |       Status: NEW                         Version: 2.1.0                   |
! |   Resolution:                            Platform: PC                      |
  |     Severity: Minor                    OS/Version: Windows NT/2K           |
  |     Priority: Other                     Component: org.apache.xpath        |
  +----------------------------------------------------------------------------+
--- 2,9 ----
  | StringIndexOutOfBoundsException is trailing illegal quote                  |
  +----------------------------------------------------------------------------+
  |        Bug #: 2684                        Product: XalanJ2                 |
! |       Status: RESOLVED                    Version: 2.1.0                   |
! |   Resolution: FIXED                      Platform: PC                      |
  |     Severity: Minor                    OS/Version: Windows NT/2K           |
  |     Priority: Other                     Component: org.apache.xpath        |
  +----------------------------------------------------------------------------+
***************
*** 24,27 ****
  
          if (c == '\'')
          {
!           addToTokenQueue(pat.substring(startSubstring, i + 1));
--- 24,33 ----
  
          if (c == '\'')
          {
!           addToTokenQueue(pat.substring(startSubstring, i + 1));
! 
! ------- Additional Comments From [EMAIL PROTECTED]  2001-08-29 14:04 -------
! Added a check for the end of the pattern string. We were always assuming that 
! we were getting the matching quote at the end of the for loop and ignoring the 
! case where we would be exiting the loop because we reached the end of the 
! pattern.     

Reply via email to