You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by bu...@apache.org on 2001/06/19 18:56:54 UTC

[Bug 1519] - TreeWalker enters infinite loop under certain input

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

*** shadow/1519	Sun May 20 17:26:11 2001
--- shadow/1519.tmp.24793	Tue Jun 19 09:56:54 2001
***************
*** 1,19 ****
! Bug#: 1519
! Product: Xerces-J
! Version: 1.3.1
! Platform: PC
! OS/Version: 
! Status: NEW   
! Resolution: 
! Severity: Normal
! Priority: 
! Component: DOM
! AssignedTo: xerces-j-dev@xml.apache.org                            
! ReportedBy: swing247@hotmail.com               
! URL: 
! Cc: 
! Summary: TreeWalker enters infinite loop under certain input
! 
  run the following code, and treewalker will enter an infinite loop.  out is 
  never printed.  In real life you would never specify 0 for 'whatToShow', but if 
  you specify a filter and it happens to never return FILTER_ACCEPT on this 
--- 1,19 ----
! +============================================================================+
! | TreeWalker enters infinite loop under certain input                        |
! +----------------------------------------------------------------------------+
! |        Bug #: 1519                        Product: Xerces-J                |
! |       Status: RESOLVED                    Version: 1.3.1                   |
! |   Resolution: FIXED                      Platform: PC                      |
! |     Severity: Normal                   OS/Version: All                     |
! |     Priority: High                      Component: DOM                     |
! +----------------------------------------------------------------------------+
! |  Assigned To: xerces-j-dev@xml.apache.org                                  |
! |  Reported By: swing247@hotmail.com                                         |
! |      CC list: Cc:                                                          |
! +----------------------------------------------------------------------------+
! |          URL:                                                              |
! +============================================================================+
! |                              DESCRIPTION                                   |
  run the following code, and treewalker will enter an infinite loop.  out is 
  never printed.  In real life you would never specify 0 for 'whatToShow', but if 
  you specify a filter and it happens to never return FILTER_ACCEPT on this 
***************
*** 51,53 ****
--- 51,58 ----
  0, null, false);
          walker.nextNode();
          System.out.println ("out");
+ 
+ ------- Additional Comments From elena@apache.org  2001-06-19 09:56 -------
+ Actually, it is not an infinite loop .. it just takes LONG time. See bug #1541.
+ The fix is in CVS. Can you extract the latest code and try it out?
+ 

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org