Uploaded image for project: 'OASIS Open Document Format for Office Applications (OpenDocument) TC'
  1. OASIS Open Document Format for Office Applications (OpenDocument) TC
  2. OFFICE-3555

Misleading/incorrect statement regarding office:value-type="string"

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Applied
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: ODF 1.2 CD 05
    • Fix Version/s: ODF 1.3
    • Component/s: Part 1 (Schema), Table
    • Labels:
      None
    • Proposal:
      Hide

      In 19.385 change the sentence
      ------------------------------------------------------
      If the value type is not string, the corresponding Value Attribute(s) (Table 14 - Value attributes) shall contain the value(s) of the element.
      ------------------------------------------------------
      to read:
      ------------------------------------------------------
      If the value type is not string or if the table:table-cell element content differs from the value of the element, the corresponding Value Attribute(s) (Table 14 - Value attributes) shall contain the value(s) of the element.
      ------------------------------------------------------

      Show
      In 19.385 change the sentence ------------------------------------------------------ If the value type is not string, the corresponding Value Attribute(s) (Table 14 - Value attributes) shall contain the value(s) of the element. ------------------------------------------------------ to read: ------------------------------------------------------ If the value type is not string or if the table:table-cell element content differs from the value of the element, the corresponding Value Attribute(s) (Table 14 - Value attributes) shall contain the value(s) of the element. ------------------------------------------------------
    • Resolution:
      Hide

      In 19.385 change the sentence
      ------------------------------------------------------
      If the value type is not string, the corresponding Value Attribute(s) (Table 14 - Value attributes) shall contain the value(s) of the element.
      ------------------------------------------------------
      to read:
      ------------------------------------------------------
      If the value type is not string or if the table:table-cell element content differs from the value of the element, the corresponding Value Attribute(s) (Table 14 - Value attributes) shall contain the value(s) of the element.
      ------------------------------------------------------

      Show
      In 19.385 change the sentence ------------------------------------------------------ If the value type is not string, the corresponding Value Attribute(s) (Table 14 - Value attributes) shall contain the value(s) of the element. ------------------------------------------------------ to read: ------------------------------------------------------ If the value type is not string or if the table:table-cell element content differs from the value of the element, the corresponding Value Attribute(s) (Table 14 - Value attributes) shall contain the value(s) of the element. ------------------------------------------------------

      Description

      In 19.385 office:value-type we say:

      If the value type is not string, the corresponding Value Attribute(s) (Table 14 - Value attributes) shall contain the value(s) of the element.

      While this is technically correct, it fails to specify where the value of the element shall be stored when the value type is string. Note that even in the case that the value-type is string, the apparent cell content given by the table-cell element content may differ from the value of the cell. This happens for example if the data-style for that cell is:
      <number:text-style style:name="ND.0"><number:text>pre </number:text><number:text-content/><number:text> post</number:text></number:text-style>

        Attachments

          Activity

            People

            • Assignee:
              aguelzow Andreas Guelzow
              Reporter:
              aguelzow Andreas Guelzow
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: