OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

oic message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: RE: [oic] Advisory 00007 - Table Rows / Table Columns


The point is, <table:table-rows> and <table:table-columns> never supply anything to header rows or header columns, so it is not necessary to say anything about repeating or not.  

Did you look at the final statement about which has precedence when there is a conflict between the text and the schema for ODF 1.2?

    > 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.

I also don't see any reason why the schema can't be completely precise about this.

So consider the following abbreviated element structure:

<table:table>
   <table:table-column> element
    ...
   <table:table-column> element
   <table:table-header-rows> 
       <table:table-row> element 1
       <table:table-row> element 2
   </table:table-header-rows>
   <table:table-row-group>
       <table:table-header-rows>
          <table:table-row> element 3
       </table:table-header-rows>
       <table:table-row> elements
        ...
   </table:table-row-group>
   <table:table-row-group>
       <table:table-header-rows>
          <table:table-row> element 4
       </table:table-header-rows>
       <table:table-row> elements
        ...
   </table:table-row-group>
</table:table>

which appears to be completely legal and also might make perfect sense, recognizing subheadings on subgroups.

 - Dennis


-----Original Message-----
From: oic@lists.oasis-open.org [mailto:oic@lists.oasis-open.org] On Behalf Of Andreas J. Guelzow
Sent: Friday, October 07, 2011 16:32
To: dennis.hamilton@acm.org
Cc: oic@lists.oasis-open.org
Subject: RE: [oic] Advisory 00007 - Table Rows / Table Columns

On Fri, 2011-10-07 at 17:14 -0600, Dennis E. Hamilton wrote:
[ ... ]
> 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.
[ ... ]
> 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


---------------------------------------------------------------------
To unsubscribe, e-mail: oic-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: oic-help@lists.oasis-open.org



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]