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

    • 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 (Inactive)
              Reporter:
              aguelzow Andreas Guelzow (Inactive)
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: