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

different warnings when using command line version.

From: Matthew Idso <MatthewI@email.cvs.com>
Date: Wed, 22 Dec 1999 09:08:40 -0800
Message-ID: <14F33B737AE9D2119B320090273F1FCF3E57BB@SEAMAIL01>
To: "'html-tidy@w3.org'" <html-tidy@w3.org>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 April 2012 06:13:43 GMT