data-pilot-group attributes proposal

Summary

Proposal owner:

Doug Mahugh

Proposal short name:

data-pilot-group attributes

Rationale

Use cases:

The ODF schema indicates that the following <table:date-pilot-groups> attributes are required: table:date-start, table:date-end, table:start, table:end, table:step, table:grouped-by.  While the requirement makes sense for some types of <table:date-pilot-fields grouping>, manually arranged (by name) fields should not have this requirement.  The schema should match the text of the specification.

Alternatives considered:

None.

Requested changes to the ODF Standard

Text changes/additions (please state section numbers):

None

Schema changes/additions:

Schema change for Section 9.6.17:

<define name="table-data-pilot-groups">
  <element name="table:data-pilot-groups">
    <ref name="table-data-pilot-groups-attlist"/>
    <zeroOrMore>
      <ref name="table-data-pilot-group"/>
    </zeroOrMore>
  </element>
</define>
 
<define name="table-data-pilot-groups-attlist" combine="interleave">
  <optional>
    <choice>
      <attribute name="table:date-start">
        <choice>
          <ref name="dateOrDateTime"/>
          <value>auto</value>
        </choice>
      </attribute>
      <attribute name="table:start">
        <choice>
          <ref name="double"/>
          <value>auto</value>
        </choice>
      </attribute>
    </choice>
  </optional>
</define>
 
<define name="table-data-pilot-groups-attlist" combine="interleave">
  <optional>
    <choice>
      <attribute name="table:date-end">
        <choice>
          <ref name="dateOrDateTime"/>
          <value>auto</value>
        </choice>
      </attribute>
      <attribute name="table:end">
        <choice>
          <ref name="double"/>
          <value>auto</value>
        </choice>
      </attribute>
    </choice>
  </optional>
</define>
 
<define name="table-data-pilot-groups-attlist" combine="interleave">
  <optional>
    <attribute name="table:step">
      <ref name="double"/>
    </attribute>
  </optional>
</define>
 
<define name="table-data-pilot-groups-attlist" combine="interleave">
  <optional>
    <attribute name="table:grouped-by">
      <choice>
        <value>seconds</value>
        <value>minutes</value>
        <value>hours</value>
        <value>days</value>
        <value>months</value>
        <value>quarters</value>
        <value>years</value>
      </choice>
    </attribute>
  </optional>
</define>

Impacts

Conformance:

No known conformance issues.

Backwards compatibility:

Existing implementations seem to already assume that these attributes are optional given the text in 9.6.17.  This should clear up the inconsistency between the text and the schema.

Accessibility impact:

There is no impact on accessibility.

Workflow (to be filled in by TC Chairs)

Category: CategoryNewProposal

Date Proposal initially made:

Dates Proposal discussed on TC calls:

Date vote is requested:

Date vote is held:

Results of vote:

data-pilot-group_attributes (last edited 2017-06-26 14:07:39 by Patrick)