W3C home > Mailing lists > Public > www-html-editor@w3.org > July to September 2002

Re: XHTML 1.0 in XML Schema: table definition

From: Masayasu Ishikawa <mimasa@w3.org>
Date: Thu, 12 Sep 2002 00:00:38 +0900 (JST)
Message-Id: <20020912.000038.74748141.mimasa@w3.org>
To: Richard.Rathmann@noaa.gov
Cc: www-html-editor@w3.org

Hello,

"Richard Rathmann" <Richard.Rathmann@noaa.gov> wrote:

> I was just giving the strict schema a quick look-over and noticed what
> seems to be an error in the definition for <table>.  According to the
> schema a <table> element can have <tr> children when it also has a
> <thead> and/or <tfoot> child.  I could be wrong, but I thought that
> <tbody> elements were required to wrap any <tr> elements when mixed with
> <thead> or <tfoot>.

Although the current XML Schema definition directly corresponds to
the definition of the XHTML 1.0 DTD, your suggestion seems reasonble.
The reason why DTD was written that way is to make conversion from
HTML4 easier, as both start and end tags of the tbody element were
optional in HTML4.  The HTML WG will discuss whether we should tighten
the definition in XML Schema version.

Thanks,
-- 
Masayasu Ishikawa / mimasa@w3.org
W3C - World Wide Web Consortium
Received on Wednesday, 11 September 2002 11:00:40 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:17:42 GMT