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

Re: Tidy support

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Thu, 07 Nov 2002 21:51:04 +0100
To: "David Wier" <dwier@augustwind.com>
Cc: html-tidy@w3.org
Message-ID: <3dd5d074.59955741@smtp.bjoern.hoehrmann.de>

* David Wier wrote:
>I'm looking at integrating Tidy into my ASP/ASP.Net/HTML
>editor, ASP Express - I've created a temporary app to work
>with it, but I have a couple of hurdles and questions I
>can't seem to understand or get past.

What version have you tried?

>And I've tried adding my tags in different ways:
>aspnet101:side, <aspnet101:side, <aspnet101:side>, and the last real way the tag looks: <aspnet101:side runat="server"/>
>I ALWAYS get an errror message - <aspnet101:side> is not recognized
>What syntax do I use in the Config file?

`new-blocklevel-tags: aspnet101:side` should work, e.g.

  C:\>tidylib --new-blocklevel-tags x:y
  <x:y>...</x:y>
  line 1 column 1 - Warning: <x:y> is not approved by W3C
  line 1 column 1 - Warning: inserting missing 'title' element

(`tidylib` is a TidyLib based recent build of HTML Tidy)

>Also - is there a way to set Tidy so that, it will just pass
>over these things and tidy-up the HTML that it can?

That's the intention of these config options.

>2. What do I need to do to get permission to use it within
>my applications?

Take a look at http://tinyurl.com/2ioo

>3. What does "Warning: discarding unexpected <aspnet101:top>" really mean?

Tidy excludes this element from the tree, the result tree will not
include it.

>4. How can I set attributes for it to ignore? In my ASP.Net
>custom tags, I have things like : runat = "Server"

Tidy will keep unknown attributes and warns about them.
Received on Thursday, 7 November 2002 15:50:27 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 23:39:48 UTC