I'm seeing the following error on catalina's tester app, running it under Tomcat 5:
[echo] ----- JSP Document Parsing ----- [tester] EXPECTED: ====================================== [tester] <a>text<b></b></a><a>text<b></b></a><c><d>text</d></c><c><d>text</d></c><e><f></f>text<f></f></e><e><f></f>text<f></f></e> [tester] ================================================ [tester] RECEIVED: ====================================== [tester] <a>text<b/></a><a>text<b/></a><c><d>text</d></c><c><d>text</d></c><e><f/>text<f/></e><e><f/>text<f/></e> [tester] ================================================ [tester] FAIL [GET /tester/JspDoc01.jsp HTTP/1.0] Failed Golden File Comparison However, I'm not sure the test is actually correct. It's failing because of the empty elements being converted from <b></b> to <b/>, and from <f></f> to </f>. But, under XML, those are identical ways of saying the same thing. If my analysis is correct, then the golden text needs to be changed, and here is a patch for it. Otherwise, there's a deeper problem.
Index: golden/JspDoc01.txt =================================================================== RCS file: /home/cvspublic/jakarta-tomcat-catalina/tester/web/golden/JspDoc01.txt,v retrieving revision 1.1.1.1 diff -u -w -r1.1.1.1 JspDoc01.txt --- golden/JspDoc01.txt 18 Jul 2002 16:47:25 -0000 1.1.1.1 +++ golden/JspDoc01.txt 11 Sep 2002 22:10:51 -0000 @@ -1 +1 @@ -<a>text<b></b></a><a>text<b></b></a><c><d>text</d></c><c><d>text</d></c><e><f></f>text<f></f></e><e><f></f>text<f></f></e> +<a>text<b/></a><a>text<b/></a><c><d>text</d></c><c><d>text</d></c><e><f/>text<f/></e><e><f/>text<f/></e> \ No newline at end of file
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>