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

"Srinivas Reddy Yalala -X (syalala - Satyam at Cisco)" <[email protected]>
Newsgroups gmane.comp.web.html-tidy.user
Message-ID <2054F8FC6F5FDE4DB9A4D9F9D443326E02FE2430@xmb-sjc-224.amer.cisco.com>
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. 

Thanks,
Srinivas 

-----Original Message-----
From: Bjoern Hoehrmann [mailto:[email protected]] 
Sent: Friday, January 25, 2008 8:53 AM
To: Srinivas Reddy Yalala -X (syalala - Satyam at Cisco)
Cc: [email protected]
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 
>content.

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:[email protected] · 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/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.