Bob, We have come to opposite conclusions from the same facts. It appears more logical that the four attributes you list are deliberately missing from informaltable-HTML and are incorrectly present in table-HTML and should be removed.
The reason is that none of those attributes are also attributes of the HTML <table> element. Isn't the whole point of supporting HTML tables in DocBook to re-use the existing HTML table standard? The proof is in the DocBook XSL. Try making a DB 5 document that contains a table-HTML using the pgwide="1" attribute. The document will validate fine, but on transformation to HTML, no pgwide attribute is passed to the HTML <table> element, and the table shows up with its default width. By contrast, add width="100%" and you get the pgwide effect as desired. -----Original Message----- From: Bob Stayton [mailto:[email protected]] Sent: Saturday, March 19, 2011 6:13 PM To: Chris Ridd Cc: [email protected] Subject: Re: [docbook-apps] pgwide support with Docbook 5 Thanks for the additional info. It seems informaltable (HTML) is missing pgwide, tabstyle, floatstyle, and orient, which are available on table (both HTML and CALS) and informaltable (CALS). I think this may be an oversight, so I filed a bug report regarding the missing table attributes on informaltable (HTML). We will see what the DocBook Technical Committee says. Bob Stayton Sagehill Enterprises [email protected] ----- Original Message ----- From: "Chris Ridd" <[email protected]> To: "Bob Stayton" <[email protected]> Cc: <[email protected]> Sent: Saturday, March 19, 2011 2:02 PM Subject: Re: [docbook-apps] pgwide support with Docbook 5 > > On 19 Mar 2011, at 01:31, Bob Stayton wrote: > >> Hi Chris, >> pgwide is permitted on table, both CALS and HTML tables. Here is the >> definitive >> guide: >> >> http://www.docbook.org/tdg5/en/html/cals.table.html >> >> I looked in the DTD and the RelaxNG schema, and see pgwide available on >> table. How >> did you conclude that it was not permitted? > > XXE reported it as invalid. > > I think we are using HTML tables, not CALS tables. > <http://www.docbook.org/tdg5/en/html/html.informaltable.html> has no pgwide. > > Maybe HTML tables were a tactical mistake on our part! > > Chris > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
