[Htmlparser-cvs] htmlparser/docs changes.txt,1.185,1.186 release.txt,1.45,1.46
Brought to you by:
derrickoswald
From: <der...@us...> - 2003-07-27 19:19:49
|
Update of /cvsroot/htmlparser/htmlparser/docs In directory sc8-pr-cvs1:/tmp/cvs-serv26018/htmlparser/docs Modified Files: changes.txt release.txt Log Message: Update version headers to 1.4-20030727 and update changelog. Index: changes.txt =================================================================== RCS file: /cvsroot/htmlparser/htmlparser/docs/changes.txt,v retrieving revision 1.185 retrieving revision 1.186 diff -C2 -d -r1.185 -r1.186 *** changes.txt 13 Jul 2003 12:15:02 -0000 1.185 --- changes.txt 27 Jul 2003 19:19:16 -0000 1.186 *************** *** 13,16 **** --- 13,102 ---- ******************************************************************************* + Integration Build 1.4 - 20030727 + -------------------------------- + + 2003-07-22 20:12 derrickoswald + + * build.xml: + + Use junit.jar and commons-logging.jar now found in lib/. + + 2003-07-16 22:14 jkerievsky + + * src/org/htmlparser/tests/utilTests/BeanTest.java: + + updated last test in StringBean, and disabled the test, as is doesn't pass right now + + 2003-07-16 21:49 derrickoswald + + * lib/: commons-logging.jar, junit.jar: + + Add needed libraries. + + 2003-07-16 21:42 derrickoswald + + * src/org/htmlparser/: lexer/Page.java, lexer/Source.java, + lexer/Stream.java, tests/lexerTests/AllTests.java, + tests/lexerTests/PageTests.java, tests/lexerTests/SourceTests.java, + tests/lexerTests/StreamTests.java: + + Initial drop of new io subsystem. + + 2003-07-16 20:56 derrickoswald + + * src/org/htmlparser/tests/utilTests/BeanTest.java: + + More tests. + testOutputWithPreAndScriptTags is now correct, I think. + The overarching goal of StringBean is to return the text, and only the text, that a user would see in a browser. When I open this html in Netscape I see nothing: + + <body><pre> + <script language=\"javascript\"> + if(navigator.appName.indexOf(\"Netscape\") != -1) + document.write ('xxx'); + else + document.write ('yyy'); + </script> + </pre></body> + + That's what StringBean says too. + + Although this points out a flaw in the specification (such as it is, see the StringBean javadoc): + + * Text within <SCRIPT></SCRIPT> tags is removed. + * The text within <PRE></PRE> tags is not altered. + + So what happens when there's both? + The 'not altered' means, not collapsed, not that the HTML is returned literally. + To test this out, see how Netscape handles: + + <body><pre> + <b>Hello + World</b> + </pre></body> + + For me it shows: + + Hello + World + + which means it consumes (and honours) the bold tags even though it is within <pre></pre> + So the StringBean <pre> handling is correct, or so it seems. + + I guess that most questions can be answered by submitting it to a browser. + + 2003-07-16 16:05 jkerievsky + + * src/org/htmlparser/tests/utilTests/BeanTest.java: + + added some more BeanTests, including one that is Xed out, as I think it may uncover a bug + + 2003-07-15 20:17 derrickoswald + + * src/org/htmlparser/tests/utilTests/: AllTests.java, + BeanTest.java: + + Add some StringBean tests for Joshua. + Integration Build 1.4 - 20030713 -------------------------------- Index: release.txt =================================================================== RCS file: /cvsroot/htmlparser/htmlparser/docs/release.txt,v retrieving revision 1.45 retrieving revision 1.46 diff -C2 -d -r1.45 -r1.46 *** release.txt 13 Jul 2003 12:15:03 -0000 1.45 --- release.txt 27 Jul 2003 19:19:16 -0000 1.46 *************** *** 1,3 **** ! HTMLParser Version 1.4 (Integration Build Jul 13, 2003) ********************************************* --- 1,3 ---- ! HTMLParser Version 1.4 (Integration Build Jul 27, 2003) ********************************************* |