X-Debbugs-Cc: [EMAIL PROTECTED] Package: wdg-html-validator Version: 1.6.2-6 File: /usr/bin/validate
If one gives more than one file on the command line, it's doctype ends up influencing the processing of subsequent files. If the program was correct, then no matter what order the files are given, the results should be the same. $ set comp/configuration/index.html index_en.html $ validate -w $1 $2|head -n 2 *** Errors and warnings validating index_en.html: *** index_en.html:82:5:W: comment in parameter separator $ validate -w $2 $1|head -n 2 $ grep DOC $@ comp/configuration/index.html:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" index_en.html:<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" Bug seen when one uses -w. By the way, there is no line 82 so it is really off its rocker. $ wc $@ 14 26 386 comp/configuration/index.html 32 95 1309 index_en.html 46 121 1695 total $ more $@|cat :::::::::::::: comp/configuration/index.html :::::::::::::: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title></title> <meta name="generator" content="HTML::TextToHTML v2.50"/> </head> <body> <p><a href=".emacs">.emacs</a><br/> <a href=".gnus.el">.gnus.el</a><br/> <a href=".muttrc">.muttrc</a></p> </body> </html> :::::::::::::: index_en.html :::::::::::::: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html lang="en-us"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta http-equiv="Content-Language" content="en-us"> <title>Dan Jacobson</title> </head> <body> <h1>Dan Jacobson</h1> <p><img src="images/20051014dan_small.jpg" alt= "[Photo: Dan Jacobson]" width="92" height="129"></p> <ul> <li><a href="index_en.html">ENGLISH ONLY</a> auto-stripped version of</li> <li><a href="index.html">Chinese+English</a> version.</li> </ul> <p><a href="http://radioscanningtw.jidanni.org/">Taiwan Radio Scanning Wiki</a>; <a href= "http://taizhongbus.jidanni.org/">Taizhong Bus Wiki</a>; <a href= "geo/taipower/index_en.html">Positioning by utility pole</a>; <a href="geo/house_numbering/index_en.html">Address planning</a>; <a href="lang/pinyin/index_en.html">Go Hanyu Pinyin, No Tongyong Pinyin romanization</a>; <a href="geo/index_en.html">Mapping</a>; <a href="comp/index_en.html">Computers</a>; <a href= "foreigner/index_en.html">Not allowed to be Taiwanese</a>; <a href= "sitemap-en.html">Website map</a>; <a href="me/index_en.html">About me</a>.</p> <p><a href="mailto:[EMAIL PROTECTED]">[EMAIL PROTECTED]</a> <a href="contact.html">+886-4-25854780 Dongshi, Taiwan</a></p> </body> </html> -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]