- From: Ⓙⓐⓚⓔ Wolpert <jake@queernet.org>
- Date: Thu, 28 Sep 2006 23:42:26 -0700
- To: <mike@9media.com>
- Cc: <www-validator@w3.org>
- Message-Id: <E9733FE1-9E9C-4F43-8761-687017EF2AFF@queernet.org>
bad error, but title is required in xhtml. On Sep 28, 2006, at 10:20 PM, Mike Gradek wrote: > Validating > > > > When validating the following document, an error is reported about > lack of XML well-formedness > > > > · Error Line 5 column 6: end tag for "head" which is not finished. > > </head> > > > > > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http:// > www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> > > <html> > > <head> > > <style type="text/css" media="all">@import "./ > browserspecific.css";</style> > > </head> > > <body> > > <h1>Css selectors for specific browsers</h1> > > <div id="doctype">Current doc type<cite><!DOCTYPE html PUBLIC > "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/ > xhtml1-strict.dtd"></cite></div> > > <div class="Firefox">You are using <strong>Firefox or Opera</ > strong></div> > > <div class="ie6">You are using <strong>IE6</strong> <pre>Browser- > specific selector prefix: <em>* html</em></pre></div> > > <div class="ie7">You are using <strong>IE7</strong> <pre>Browser- > specific selector prefix: <em>*:first-child+html</em></pre><a > href="http://nanobox.chipx86.com/blog/2006/04/easy-css-hacks-for- > ie7.php">Consult source</a></div> > > </body> > > </html> > > > > > > Adding a title tag, as below, makes the error go away. > > > > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http:// > www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> > > <html> > > <head> > > <title>Strict Page</title> > > <style type="text/css" media="all">@import "./ > browserspecific.css";</style> > > </head> > > <body> > > <h1>Css selectors for specific browsers</h1> > > <div id="doctype">Current doc type<cite><!DOCTYPE html PUBLIC > "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/ > xhtml1-strict.dtd"></cite></div> > > <div class="Firefox">You are using <strong>Firefox or Opera</ > strong></div> > > <div class="ie6">You are using <strong>IE6</strong> <pre>Browser- > specific selector prefix: <em>* html</em></pre></div> > > <div class="ie7">You are using <strong>IE7</strong> <pre>Browser- > specific selector prefix: <em>*:first-child+html</em></pre><a > href="http://nanobox.chipx86.com/blog/2006/04/easy-css-hacks-for- > ie7.php">Consult source</a></div> > > </body> > > </html> > > > > > > I believe the error message should be updated to better represent > the issue. > > > > Cheers, > > Mike > > > > Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ ▒░▒░▒░▒░▒░▒░▒░▒░▒░▒░▒░▒ ░▒░▒░▒░▒░▒░▒░▒░▒░▒░▒░▒░ ▒░▒░▒░▒░▒░▒░▒░▒░▒░▒░▒░▒ ░▒░▒░▒░▒░▒░▒░▒░▒░▒░▒░▒░ ▒░▒░▒░▒░▒░▒░▒░▒░▒░▒░▒░▒ jake@queernet.org
Received on Friday, 29 September 2006 06:42:56 UTC