Re: XHTML 1.0 in XML Schema: table definition

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 UTC