[Htmlparser-cvs] htmlparser/src/org/htmlparser NodeReader.java,1.25,1.26
Brought to you by:
derrickoswald
From: <der...@us...> - 2003-05-11 04:48:14
|
Update of /cvsroot/htmlparser/htmlparser/src/org/htmlparser In directory sc8-pr-cvs1:/tmp/cvs-serv24541/org/htmlparser Modified Files: NodeReader.java Log Message: Fixed bug #735183 Problem in Label Scanning A NodeReader now prepends the pre-read tags onto the internal list, maintaining the correct order in recursively analysing unclosed tags. Also fixed OptionTagScanner tag enders. Index: NodeReader.java =================================================================== RCS file: /cvsroot/htmlparser/htmlparser/src/org/htmlparser/NodeReader.java,v retrieving revision 1.25 retrieving revision 1.26 diff -C2 -d -r1.25 -r1.26 *** NodeReader.java 5 May 2003 03:12:21 -0000 1.25 --- NodeReader.java 11 May 2003 04:48:11 -0000 1.26 *************** *** 385,391 **** return stringParser; } ! public void addNextParsedNode(Node nextParsedNode) { ! this.nextParsedNode.add(nextParsedNode); } --- 385,397 ---- return stringParser; } ! ! /** ! * Adds the given node on the front of an internal list of pre-parsed nodes. ! * Used in recursive calls where downstream nodes have been recognized in ! * order to parse the current node. ! * @param nextParsedNode The node that will be returned next by the reader. ! */ public void addNextParsedNode(Node nextParsedNode) { ! this.nextParsedNode.prepend(nextParsedNode); } |