[Htmlparser-cvs] htmlparser/src/org/htmlparser/tests/scannersTests ScriptScannerTest.java,1.53,1.54
Brought to you by:
derrickoswald
From: Derrick O. <der...@us...> - 2004-05-22 03:57:40
|
Update of /cvsroot/htmlparser/htmlparser/src/org/htmlparser/tests/scannersTests In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25265/tests/scannersTests Modified Files: ScriptScannerTest.java Log Message: Fix bug# 919738 Text has not been extracted correctly using StringBean and (duplicate) bug #936392 ScriptTag visitor fails for comments with ' by handling single and multiline ecmascript comments in the Lexer class when called with quotesmart true. Also added test cases for, but didn't fix bug #923146 tag nesting rule too strict for forms (org.htmlparser.tests.tagTests.InputTagTest.testTable) and bug #922439 OutOfMemory on huge HTML files (4,7MB) (org.htmlparser.tests.MemoryTest) which are thus currently failing. Index: ScriptScannerTest.java =================================================================== RCS file: /cvsroot/htmlparser/htmlparser/src/org/htmlparser/tests/scannersTests/ScriptScannerTest.java,v retrieving revision 1.53 retrieving revision 1.54 diff -C2 -d -r1.53 -r1.54 *** ScriptScannerTest.java 28 Feb 2004 15:52:44 -0000 1.53 --- ScriptScannerTest.java 22 May 2004 03:57:30 -0000 1.54 *************** *** 203,207 **** "document.write(\"{ // do something\"); " + "document.write(\"}\"); " + ! "// parser thinks this is the end tag. " + "document.write(\"</script>\");" + "</script>" + --- 203,207 ---- "document.write(\"{ // do something\"); " + "document.write(\"}\"); " + ! "// parser thinks this is the end tag.\n" + "document.write(\"</script>\");" + "</script>" + *************** *** 226,230 **** "document.write(\"{ // do something\"); " + "document.write(\"}\"); " + ! "// parser thinks this is the end tag. " + "document.write(\"</script>\");", scriptTag.getScriptCode() --- 226,230 ---- "document.write(\"{ // do something\"); " + "document.write(\"}\"); " + ! "// parser thinks this is the end tag.\n" + "document.write(\"</script>\");", scriptTag.getScriptCode() |