W3C home > Mailing lists > Public > www-html@w3.org > December 2002

RE: Table element's width attribute in the basic table

From: BIGELOW,JIM (HP-Boise,ex1) <jim.bigelow@hp.com>
Date: Tue, 17 Dec 2002 16:41:04 -0500
Message-ID: <25C4C6009B5BD5118FF30003470BF7F5078B4646@xboi04.boi.hp.com>
To: www-html@w3.org


Christian wrote:
> 1. The URLs you gave are those of the candidate recommendation. That's 
> old
> stuff. Try the recommendation instead. The candidate recommendation and
the 
> recommendation really might differ.
> 
> 2. There are two tables modules, don't mix them up:
> - Basic Tables Module
> - Tables Module
> They really differ.
> Tables Module is used by XHTML 1.1.
> Basic Tables Module is used by XHTML Basic.
> 
> Any more questions?

Thank you for the advice. I looked at the Recommendation 10 April 2001
(http://www.w3.org/TR/xhtml-modularization/) and it still has the difference
between 

1. the definition of the table element in the Basic Tables Module
(http://www.w3.org/TR/xhtml-modularization/abstract_modules.html#s_simpletab
lemodule), and 

2. the DTD for the Basic Tables Module
(http://www.w3.org/TR/xhtml-modularization/dtd_module_defs.html#a_module_Bas
ic_Tables)

In 1. the table element has a width attribute, in 2. it does not.

3. I also looked in the Modularization of XHTML(tm) in XML Schema, W3C
Working Draft 15 August 2002 (
http://www.w3.org/TR/2002/WD-xhtml-m12n-schema-20020815/) in this document
the section for Basic Tables
(http://www.w3.org/TR/2002/WD-xhtml-m12n-schema-20020815/schema_module_defs.
html#sec_D.4.4.)
Defines the table element as follows:

    ...
    <xs:attributeGroup name="table.attlist">
        <xs:attributeGroup ref="Common.attrib"/>
        <xs:attribute name="summary" type="Text"/>

    </xs:attributeGroup>
    ...

    <xs:complexType name="table.type" >
        <xs:group ref="table.content"/>
        <xs:attributeGroup ref="table.attlist"/>
    </xs:complexType>
    <xs:element name="table" type="table.type"/>

I now see where I strayed into the D4.4.2. Tables and used the wrong
definition for table.attlist.

I infer from the fact that two out of the three definitions of the Basic
Tables Module (2. in the DTD and 3. in XML Schema) do not show the table
attribute with an attribute width, the statement that the table element has
a width attribute made in 1. is wrong. 

Jim Bigelow, 
Editor: XHTML-Print & CSS Print Profile
IEEE, Printer Working Group 
http://www.pwg.org/xhtml-print
Hewlett-Packard
208-396-2068
jim.bigelow@hp.com  
Received on Tuesday, 17 December 2002 16:41:09 GMT

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