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

TIDY vs W3C validator

From: PJM <pjmaip@yahoo.com>
Date: Tue, 30 Dec 2008 08:19:00 -0800 (PST)
Message-ID: <21219264.post@talk.nabble.com>
To: html-tidy@w3.org

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>TEST</title>
</head>
<body>
<div>
 <italic>T<sub>c</sub> <italic>m</italic></italic>K and</div>
</body>
</html>

The above (note had to change i tags in order to post message) validates
fine in W3C validator.

However, Tidy, returns this:
tidy -asxhtml -wrap 0 -numeric

line 8 column 2 - Warning:  is probably intended as 
line 8 column 39 - Warning: discarding unexpected 
line 8 column 44 - Warning: discarding unexpected 

Why the difference?
P.S. Are nested italic tags valid xhtml strict? 

-- 
View this message in context: http://www.nabble.com/TIDY-vs-W3C-validator-tp21219264p21219264.html
Sent from the w3.org - html-tidy mailing list archive at Nabble.com.
Received on Monday, 5 January 2009 16:14:52 GMT

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