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:46:21 -0800
Message-ID: <2054F8FC6F5FDE4DB9A4D9F9D443326E02FE2430@xmb-sjc-224.amer.cisco.com>
To: "Bjoern Hoehrmann" <derhoermi@gmx.net>
Cc: <html-tidy@w3.org>

Hi Bjoern,

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. 


-----Original Message-----
From: Bjoern Hoehrmann [mailto:derhoermi@gmx.net] 
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?

* Srinivas Reddy Yalala -X (syalala - Satyam at Cisco) wrote:
>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 

It is quite possible that you and the web service use different versions or different configuration options. The web service is an indepenent 3rd party project and I do not know it's internal makeup, so I am unable to provide additional commentary.
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 
Received on Saturday, 26 January 2008 21:46:40 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:38:56 UTC