different warnings when using command line version.

When running tidy.exe, it returns different warnings than when using the
HTMLKit.


Use the following HTML.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
"http://www.w3.org/TR/REC-html40/loose.dtd">
<html>
  <head>
    <title>
      Title
		</title>
  </head>
  <body>
      <form>
        <select value="option1">
          <option value="option1">
            text1
          </option>
          <option value="option2">
            text2
          </option>
          <option value="option3">
            text3
          </option>
        </select>
      </form>
      <br> 
  </body>
</html>

running tidy.exe from the command line returns the following warnings:

line 12 column 1 - Warning: discarding unexpected plain text
line 13 column 11 - Warning: discarding unexpected </option>
line 15 column 1 - Warning: discarding unexpected plain text
line 16 column 11 - Warning: discarding unexpected </option>
line 18 column 1 - Warning: discarding unexpected plain text
line 19 column 11 - Warning: discarding unexpected </option>

These warnings are however not returned by checking code from the HTMLKit.

Is there a setting for the command line setting needed for tidy.exe?

Matt Idso
Software Automation Engineer
206-403-4480
CVS.com

Received on Wednesday, 22 December 1999 12:08:38 UTC