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"
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
 <italic>T<sub>c</sub> <italic>m</italic></italic>K and</div>

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 UTC

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