Below is the source used for this validation:
1
2
3 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
4
5 <html>
6 <head>
7 <title>JTidy servlet extension - Live examples</title>
8 <meta http-equiv="Expires" content="-1">
9 <meta http-equiv="Pragma" content="no-cache">
10 <meta http-equiv="Cache-Control" content="no-cache">
11 <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
12 <meta name="author" content="Vlad Skarzhevskyy">
13 <meta name="email" content="vlads(at)users.sourceforge.net">
14 <link rel="stylesheet" href="./styles/examples.css" type="text/css" media="all">
15 <style type="text/css" media="all">
16 @import url("./styles/maven-base.css");
17 @import url("./styles/maven-theme.css");</style>
18 <script type="text/javascript" src="./js/timeZoneDetection.js"></script>
19 </head>
20 <body onload="setTimezoneOffsetCookie()">
21
22
23
24
25 <div id="banner">
26 <a href="http://sourceforge.net" id="organizationLogo">
27 <img alt="sourceforge" src="http://sourceforge.net/sflogo.php?group_id=13153&type=2"></a>
28 <a href="http://jtidy.sourceforge.net" id="projectLogo">
29 <img alt="JTidy Servlet" src="./images/logo.png"></a>
30 <div class="clear"><hr></div>
31 </div>
32
33 <div id="breadcrumbs">
34 <div class="xleft">
35 JTidy servlet extension - Live examples
36 <span class="separator">|</span>
37 <a href="index.jsp">Examples Home</a>
38 <span class="separator">|</span>
39 <a href="http://jtidy.homelinux.net/" class="externalLink">Documentation</a>
40 </div>
41 <div class="xright">
42 RequestID: 47 <span class="separator">|</span> Time: 11:08:11 GMT+00:00
43 </div>
44 <div class="clear"><hr></div>
45 </div>
46
47 <div id="backDiv">
48 <a href="javascript:history.go(-1)"><img alt="Back" src="./images/back.gif"></a>
49 </div>
50
51 <div id="showsourceDiv">
52 <a href="/jtidyservlet-webapp/example-validate-url.jsp.source">View JSP Source</a><br>
53 <a href="/jtidyservlet-webapp/JTidy?result=1&requestID=47&action=report">This HTML Source</a>
54 </div>
55
56 <div id="JTidyValidationImageDiv">
57
58 <script type="text/javascript">
59
60 function showJTidyReport_iframe() {
61 if ((ppJTidyReport != null) && (ppJTidyReport.ppmShow != null)) {
62 return ppJTidyReport.ppmShow();
63 } else {
64 // No frame support or some other error
65 return true;
66 }
67 }
68
69 </script>
70
71 <a name="JTidyValidationImageCommonLink" id="JTidyValidationImageCommonLink" href="/jtidyservlet-webapp/JTidy?requestID=47&action=report&src=1"
onclick="this.blur();return showJTidyReport_iframe();"><img name="JTidyValidationImageCommon" id="JTidyValidationImageCommon"
alt="Page Validation" src="/jtidyservlet-webapp/JTidy?requestID=47&action=image" width="32" height="26" >
</a>
72 <iframe name="ppJTidyReport"
73 id="ppJTidyReport"
74 src="./iframe_main.jsp?requestID=47"
75 scrolling="no" frameborder="0" style="visibility:hidden; z-index:999; left:50px; position:absolute;">
76 Sory No support for iframe in your browser
77 </iframe>
78 </div>
79
80 <div id="body">
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95 <h3>Validate URL</h3>
96
97 This form allows you to enter the URL of an HTML document to validate using jtidy.
98 <br>
99
100 <br>
101 <form name="urlForm" method="post" action="/jtidyservlet-webapp/example-validate-url.jsp" enctype="multipart/form-data"
>
102
103 URL:<br/>
104
105 <input type="text" name="url" value="http://" size="50"><br/>
106
107 <input type="hidden" name="org.apache.struts.taglib.html.TOKEN" value="452f36cc50b01abe908294ae4d509c1c">
108
109
110
111 <input type="submit" value="Validate">
112
113 </form>
114 <br>
115
116
117
118 <!-- This will disable tidy Processing since current Tidy is corrupting HTML -->
119
120 <br>
121 N.B. there are bug in development version of jtidy so the HTML output of this page is not the JTidy output. We used <code>
<jtidy:pass/></code> tag.
122
123
124
125 </div>
126
127 <div id="firefox">
128 <a href="http://www.spreadfirefox.com/?q=affiliates&id=0&t=68"><img border="0" alt="Get Firefox!" title="Get Firefox!"
src="http://www.spreadfirefox.com/community/images/affiliates/Buttons/88x31/take.gif"/></a>
129 </div>
130
131 <div id="validxhtml">
132 <a href="http://validator.w3.org/check?uri=referer">
133 <img border="0"
134 src="http://www.w3.org/Icons/valid-html401"
135 alt="Valid HTML 4.01!" height="31" width="88"></a>
136 </div>
137
138 <div id="footer">
139 <div class="xleft">
140 Please send any questions or suggestions to
141 <a href="mailto:vlads(at)users.sourceforge.net">vlads(at)users.sourceforge.net</a>
142 </div>
143 </div>
144
145 </body>
146 </html>
EOF