W3C home > Mailing lists > Public > html-tidy@w3.org > January to March 2008

RE: Why behaviour of Tidy online and Windows command is different?

From: Srinivas Reddy Yalala -X (syalala - Satyam at Cisco) <syalala@cisco.com>
Date: Sat, 26 Jan 2008 13:45:46 -0800
Message-ID: <2054F8FC6F5FDE4DB9A4D9F9D443326E02FE242F@xmb-sjc-224.amer.cisco.com>
To: "Arnaud Desitter" <arnaud02@users.sourceforge.net>
Cc: <html-tidy@w3.org>

Hi Arnaud,

1) Tidy version at: http://infohound.net/tidy/tidy.pl is as below.
<meta name="generator" content="HTML Tidy for Linux/x86 (vers 11
February 2007), see www.w3.org" />

2) Tidy version in my Windows OS local machine
HTML Tidy for Windows released on 6 November 2007

I have used the command: "tidy -f c:\error.txt -m abc.html" to generate
XHTML document.

It is having below problems.

a) It is added tidy meta tag and does not add end tag to it.

<meta name="generator" content="HTML Tidy for Windows (vers 6 November
2007), see www.w3.org">

b) It is not able to add end tag to image, <img height="9"
src="contentTwiddle.gif"
tppabs="http://www.abc.com/offer/power/images/content.gif" width="25">

I have checked the error log and it gives the below message.

line 4 column 70 - Warning: <img> proprietary attribute "tppabs"
line 4 column 70 - Warning: <img> lacks "alt" attribute

c) It does not convert tag <br> to <br/>

Can you please provide me how to overcome this problem.

Note: HTML conversion from "http://infohound.net/tidy/tidy.pl" website
very accurate and it is perfectly opening in IE browser. 

Thanks,
Srinivas

-----Original Message-----
From: arnaud.desitter@gmail.com [mailto:arnaud.desitter@gmail.com] On
Behalf Of Arnaud Desitter
Sent: Friday, January 25, 2008 8:53 AM
To: Srinivas Reddy Yalala -X (syalala - Satyam at Cisco)
Cc: html-tidy@w3.org
Subject: Re: Why behaviour of Tidy online and Windows command is
different?

On 25/01/2008, Srinivas Reddy Yalala -X (syalala - Satyam at Cisco)
<syalala@cisco.com> wrote:
>
> Hi,
>
> I am checking the Tidy online (I think, it is written in Perl) and 
> Windows Tidy command, the output content is different for same input
content.
>
> 1) Online Tidy URL: http://infohound.net/tidy/tidy.pl Output content 
> of online tidy adding the below meta tag also.
> <meta name="generator" content=
> "HTML Tidy for Linux/x86 (vers 11 February 2007), see www.w3.org" />
>
> 2) Using the below Windows Tidy command.
> tidy -f c:\error.txt -m c:\abc.html
>
> Can anyone help me to understand the difference of both Tidy
softwares?

You do not tell us which version of tidy you are using. Make sure that
the options are identical. Failing that, contact the person that
maintains "http://infohound.net/tidy/tidy.pl " as this is not link with
the maintainer of tidy.
Good luck,

>
> Thanks,
> Srinivas
Received on Saturday, 26 January 2008 21:46:10 GMT

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