W3C home > Mailing lists > Public > html-tidy@w3.org > April to June 2003

Tidy for Visual Studio .NET?

From: Mel Mullen <melmullen@comcast.net>
Date: Sun, 15 Jun 2003 12:29:09 -0400
To: html-tidy@w3.org
Message-id: <000a01c3335b$42d9b3f0$0b01a8c0@mel>

I have built the HTMLTidy Visual Studio AddIn described by Microsoft here:


but when I run it I get the typical result shown below. I'm really only
looking for indentation and basic validation (missing closing tags, etc),
and I don't care about undefined attributes and tags. Can Tidy be configured
to give me what I want?

Thanks in advance.

System.Exception: Tidy failed with error information: line 11 column 3 -
Warning: unknown attribute "ms_positioning"

line 13 column 5 - Warning: unknown attribute "runat"
line 13 column 5 - Warning: <form> lacks "action" attribute line 14 column
17 - Error: <asp:image> is not recognized! line 14 column 17 - Warning:
discarding unexpected <asp:image> line 14 column 172 - Warning: discarding
unexpected </asp:image>
Info: Doctype given is "-//W3C//DTD HTML 4.0 Transitional//EN"
Info: Document content looks like HTML 4.01

5 warnings, 1 error were found!

This document has errors that must be fixed before
using HTML Tidy to generate a tidied up version.

Source HTML..

<%@ Page language="c#" Codebehind="waiting.aspx.cs" AutoEventWireup="false"
Inherits="ThreadingTest.waiting" %> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML
4.0 Transitional//EN" > <HTML>
    <meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
    <meta name="CODE_LANGUAGE" Content="C#">
    <meta name=vs_defaultClientScript content="JavaScript">
    <meta name=vs_targetSchema
  <body MS_POSITIONING="GridLayout">
    <form id="Form1" method="post" runat="server">
		<asp:Image id="Image1" style="Z-INDEX: 101; LEFT: 8px;
POSITION: absolute; TOP: 8px" runat="server"
ImageUrl="interstitial_shared.gif" ImageAlign="Middle"></asp:Image> 

Received on Sunday, 15 June 2003 12:34:43 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:06:49 UTC