You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by cr...@apache.org on 2001/09/12 22:26:31 UTC

cvs commit: jakarta-tomcat-4.0/tester/web/golden JspDoc01.txt

craigmcc    01/09/12 13:26:31

  Modified:    tester/src/bin tester.xml
  Added:       tester/web JspDoc01.jsp
               tester/web/golden JspDoc01.txt
  Log:
  Add unit test to verify correct behavior of parsing JSP documents without
  incorrect rearrangement of character and element data.  (Bugzilla #3350)
  
  Revision  Changes    Path
  1.68      +6 -0      jakarta-tomcat-4.0/tester/src/bin/tester.xml
  
  Index: tester.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-4.0/tester/src/bin/tester.xml,v
  retrieving revision 1.67
  retrieving revision 1.68
  diff -u -r1.67 -r1.68
  --- tester.xml	2001/08/24 23:06:08	1.67
  +++ tester.xml	2001/09/12 20:26:31	1.68
  @@ -547,6 +547,12 @@
            request="${context.path}/Property02.jsp" debug="${debug}"
             status="500"/>
   
  +    <!-- ========== JSP Document Parsing ================================== -->
  +
  +    <tester host="${host}" port="${port}" protocol="HTTP/1.0"
  +         request="${context.path}/JspDoc01.jsp" debug="${debug}"
  +          golden="${golden.path}/JspDoc01.txt"/>
  +
     </target>
   
   
  
  
  
  1.1                  jakarta-tomcat-4.0/tester/web/JspDoc01.jsp
  
  Index: JspDoc01.jsp
  ===================================================================
  <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="1.2">
    <a>text<b></b></a>
    <jsp:text><a>text<b></b></a></jsp:text>
    <c><d>text</d></c>
    <jsp:text><c><d>text</d></c></jsp:text>
    <e><f></f>text<f></f></e>
    <jsp:text><e><f></f>text<f></f></e></jsp:text>
  </jsp:root>
  
  
  
  1.1                  jakarta-tomcat-4.0/tester/web/golden/JspDoc01.txt
  
  Index: JspDoc01.txt
  ===================================================================
  <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>