[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: RE: [oic] Advisory 00007 - Table Rows / Table Columns
On Fri, 2011-10-07 at 17:14 -0600, Dennis E. Hamilton wrote: > The correct statement is that those elements (and groups) cannot be > used within table:table-header-rows/-columns elements. It actually > has nothing to do with whether headers are repeated or not. From ODF 1.2 section 9.1.7 (and 9.1.11 for columns): If a table does not fit on a single page, table rows that are included in a <table:table-header-rows> element are automatically repeated on every page. > > WHO HAS HEADERS WHERE? > > There is a serious ambiguity in the schemas for > table-columns-and-groups and table-rows-and-groups. This is not what > 00007 is about, but it would certainly deserve an advisory of its own. > > For example, the table-columns-and-groups pattern is satisfied by a > non-empty sequence consisting of <table:table-column-group>, > <table:table-columns>, <table:table-header-columns>, and > <table:table-columns> elements. Likewise, a <table:table-row-group> > element has the table-columns-and-groups pattern for its content. > Additional constraints are expressed (badly) in the text. It is > clear, however, that a <table:table-header-columns> does not have to > be at the beginning of a table-columns-and-groups pattern and that a > <table:table-column-group> can have a <table:table-header-columns> > child of its own (as can further-nested <table:table-column-group>s). > > Great pains were taken to have the table-columns-no-group runs permit > an optional header element in any single place in a run. It is > peculiar, after that, that there can be any number of such runs and > interspersed groups. This may be what the schema permits, but the text adds additional condition, e.g. in ODF 1.2 section 9.1.7 (and 9.1.11 for columns): A table shall not contain more than one <table:table-header-rows> element, except that the table contains grouped rows defined by one or more <table:table-row-group> 9.1.9 elements. In this case, the table and each distinct group may contain one <table:table-header-rows> element, if and only if the table rows contained in the <table:table-header-rows> elements are adjacent. > > The table-rows-and-groups pattern works the same way except for rows > instead of columns. > > IMPORTANT NOTE: The ODF 1.2 Schema is no different. For ODF 1.2, it > is the schema that is authoritative, not the text. How grand. > Andreas -- Andreas J. Guelzow, PhD, FTICA Concordia University College of Alberta
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]