W3C home > Mailing lists > Public > html-tidy@w3.org > October to December 2003

RE: JTidy vs TagSoup

From: <ref11+@pitt.edu>
Date: Tue, 16 Dec 2003 15:19:40 -0500 (EST)
To: html-tidy@w3c.org, fyu@uhl.uiowa.edu
Message-id: <01L49O4BQNWO00XU24@mb2i1.ns.pitt.edu>


Thanks for your reply. I still see some problem with your solution though, namely, there is a form in another form and that the second form doesn't correctly encompass the input x, y, and z.

That being said, I'd still like to get your jar file, can you send it to my email? Thanks

--- Begin Orginal Message ---
From: "feng-shuo yu" <fyu@uhl.uiowa.edu>
To:   <html-tidy@w3.org>
CC: 
Date: 12/16/2003 9:27:15 AM


Recently, there is a need to use JTidy for some project and I sort of
updated (or I should say sync) the Java version with HTML version. The
output of

<BODY>
<table>
 <form action='pageA'>
  <tr><td><form>Input 1 Form 1: <input name='v'/></td><td>Input 2 Form 1:
  <input name='w'/>
</form>
<form action='pageB'>Input 1 Form 2: <input name='x'></td></tr>
  <tr><td>Input 2 Form 2: <input name='y'></td></tr>
</table>Input 3 Form 2:
<input name='z'>
</form>
</BODY>

will turn out to be
<html>
  <head>
    <meta name="generator" content="HTML Tidy, see www.w3.org" />
    <title>
      New Document
    </title>
  </head>
  <body>
    <form action='pageA'>
      <table>
        <tr>
          <td>
            <form>
              Input 1 Form 1: <input name='v' />
            </form>
          </td>
          <td>
            Input 2 Form 1: <input name='w' />
          </td>
          <td>
            <form action='pageB'>
              Input 1 Form 2: <input name='x' />
            </form>
          </td>
        </tr>
        <tr>
          <td>
            Input 2 Form 2: <input name='y' />
          </td>
        </tr>
      </table>
      Input 3 Form 2: <input name='z' />
    </form>
  </body>
</html>


If that is what you need, drop me a line and I can send you my latest
jar file.


Feng-Shuo Yu, Ph.D.
University of Iowa
Hygienic Lab
102 Oakdale Campus
Iowa City, IA 52242-5002
319/335-4852




--
Reza Ferrydiansyah
SHRS University of Pittsburgh
ref11@pitt.edu
Received on Tuesday, 16 December 2003 15:20:37 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:38:54 UTC