Home | Public Area

Comment #00255 - Table Cell Content - z39.96-2012.pdf

Comment 255
New (Unresolved)
ANSI/NISO Z39.96-2012, JATS: Journal Article Tag Suite (version 1.0) (Revision 0)
Comment Submitted by
Jeffrey Beck
2013-05-10 07:29:55
This request is submitted by Jeff Beck on behalf of the BITS working group. It was originally submitted by Imsieke, Gerrit, le-tex" <gerrit.imsieke@le-tex.de> through the JATS List.

Request:
1) Allow nested tables [that is, a inside a table cell] and
2) Allow block-level content inside a table cell <td> as an alternative to inline content.

Background: In list-items, block-level content is mandatory, while in table cells, only inline content may appear. Apart from this perceived inconsistency, it is important for our customer to be able to put multiple paragraphs or lists into a cell. This may be alleviated by the fact that lists are permitted within <td> content. We have identified a single introductory paragraph with a subsequent list as the most common multiple-block-level situation within cells. So one could argue that the model already permits this. On the other hand, a list between paragraphs may be rendered differently (with more vertical space around it) than an embedded list, for a reason (lists that continue a paragraphs sentence vs. list items that contain entire sentences).

If you want to avoid the default HTML <td> or CALS <entry> model of “both inline and block-level content allowed, but only one of them in a single cell” and rather opt for either inline-only or block-level-only, I’d argue for block-level-only.

[More information concerning our implementation:] In most cases, a HoBoTS document can easily be transformed into a BITS document: If you have paragraphs in table cells, you can unwrap their contents and place a break in between. You won’t be able to preserve indentation and vertical spacing, but this is acceptable. If you have tables in table cells, you can wrap them in
named-content.")

Since <array> is available in side table cells now, this request is really for a paragraph element (<p>) inside a table cell.
Submitter Proposed Solution
We recommend that:

The paragraph element (<p>) be added inside table cells, since we see a clear semantic and processing need for this.

Please be aware that:
1. This request calls for the mixing of paragraph and #PCDATA, which the NISO JATS
tag sets have never done (however, other block-level structures including array are
already allowed in this context).

2. The other XHTML models can handle <p>, but the CALS extensions should
be checked.

3. The original limitation was due to the inability of software to handle <p> inside table cells. The Standing Committee should investigate the current state of the software.