Update of /cvsroot/htmlparser/htmlparser/src/doc-files
In directory sc8-pr-cvs1:/tmp/cvs-serv12747/doc-files
Modified Files:
todo.html
Log Message:
Reduce recursion on the JVM stack in CompositeTagScanner.
Pass a stack of open tags to the scanner.
Add smarter tag closing by walking up the stack on encountering an unopened end tag.
Avoids a problem with bad HTML such as that found at
http://scores.nba.com/games/20031029/scoreboard.html by Shaun Roach.
Added testInvalidNesting to CompositeTagScanner Test based on the above.
Index: todo.html
===================================================================
RCS file: /cvsroot/htmlparser/htmlparser/src/doc-files/todo.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** todo.html 16 Dec 2003 02:29:56 -0000 1.1
--- todo.html 20 Dec 2003 23:47:54 -0000 1.2
***************
*** 74,83 ****
</li>
<li>
- The recursion that currently happens on the JVM stack can probably be done via a
- stack of open tags passed to the scanner. This would probably avoid the 'Stack
- overflow' exceptions observed on Windows and also allow for smarter tag closing
- (in conjuction with the end tag enders list).
- </li>
- <li>
Change all the headers to match the new format. The integration process needs to
be revamped to use the $Name: CVS substitution (via 'get label'), so a checkin
--- 74,77 ----
|