W3C home > Mailing lists > Public > www-validator@w3.org > April 2011

Re: ingratiate a table in another table : xhtml

From: Jukka K. Korpela <jkorpela@cs.tut.fi>
Date: Mon, 25 Apr 2011 21:54:30 +0300
Message-ID: <2A344D5F45FA4AB2A46FD5EE09569F71@JukanPC>
To: "Peter" <peter.lindesvik@comhem.se>, <www-validator@w3.org>
Peter wrote:

> I got error for using a table in another table.
> "http://www.openmobilealliance.org/tech/DTD/xhtml-mobile12.dtd">

You're using the XHTML Mobile 1.2 DTD, which has "basic tables" only, i.e. a 
limited subset of the (X)HTML table concept. In particular, nested tables 
are disallowed.

> What is the cause for this error isn't it correct to ingratiate a
> table in another table in xhtml or is it a problem with the
> validation check?

It's a problem with the DTD. The XHTML 1.0 DTDs allow nested tables.

Yucca, http://www.cs.tut.fi/~jkorpela/ 
Received on Monday, 25 April 2011 18:55:09 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:18:03 UTC