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

Reconcile the uses of xml:id that obsolete an ID attribute from ODF 1.1

    XMLWordPrintable

    Details

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

      For 19.809.6 and 19.809.8:

      Delete:

      "OpenDocument consumers shall ignore a text:id attribute if it occurs on a <text:h> element with an xml:id attribute value. If there is no xml:id attribute value, then a text:id attribute should be processed as it were an xml:id attribute.

      OpenDocument producers may write text:id attributes for <text:h> elements in addition to an xml:id attribute.

      A <text:h> element shall not have an text:id attribute if it has no xml:id attribute value. The value of a text:id attribute shall equal the value of an xml:id attribute on the same <text:h> element.

      The text:id attribute is deprecated in favor of xml:id. 19.916"

      Insert:

      "OpenDocument consumers shall ignore a text:id attribute if it occurs on an element with an xml:id attribute value.

      OpenDocument producers may write text:id attributes for elements in addition to an xml:id attribute.

      The value of a text:id attribute shall equal the value of an xml:id attribute on the same element.

      The text:id attribute is deprecated in favor of xml:id. 19.916"

      For 19.809.5:

      Recast first paragraph to read:

      "The text:id attribute specifies an identifier for an element."

      Insert the new material of 19.809.6

      Keep the paragraph starting: "The ID value is used..."

      Delete the paragraph starting "The text:id attribute...."

      Delete the final note.

      For 19.7 (anim:id), 19.187.3 (draw:id), 19.276 (form:id) and 19.809.2

      Delete the sentence starting "When consuming OpenDocument v1.0 and v1.1 documents,"

      Show
      For 19.809.6 and 19.809.8: Delete: "OpenDocument consumers shall ignore a text:id attribute if it occurs on a <text:h> element with an xml:id attribute value. If there is no xml:id attribute value, then a text:id attribute should be processed as it were an xml:id attribute. OpenDocument producers may write text:id attributes for <text:h> elements in addition to an xml:id attribute. A <text:h> element shall not have an text:id attribute if it has no xml:id attribute value. The value of a text:id attribute shall equal the value of an xml:id attribute on the same <text:h> element. The text:id attribute is deprecated in favor of xml:id. 19.916" Insert: "OpenDocument consumers shall ignore a text:id attribute if it occurs on an element with an xml:id attribute value. OpenDocument producers may write text:id attributes for elements in addition to an xml:id attribute. The value of a text:id attribute shall equal the value of an xml:id attribute on the same element. The text:id attribute is deprecated in favor of xml:id. 19.916" For 19.809.5: Recast first paragraph to read: "The text:id attribute specifies an identifier for an element." Insert the new material of 19.809.6 Keep the paragraph starting: "The ID value is used..." Delete the paragraph starting "The text:id attribute...." Delete the final note. For 19.7 (anim:id), 19.187.3 (draw:id), 19.276 (form:id) and 19.809.2 Delete the sentence starting "When consuming OpenDocument v1.0 and v1.1 documents,"

      Description

      There needs to be schema adjustment and text adjustment to make clear that we are requiring use of xml:id where ODF 1.1 has a different ID attribute. The different attribute is no longer an ID and it may only appear if there is also an xml:id.

      This issue is to identify all of those places and ensure that the descriptions and the schema are adjusted appropriately.

        Attachments

          Activity

            People

            • Assignee:
              orcmid Dennis Hamilton (Inactive)
              Reporter:
              orcmid Dennis Hamilton (Inactive)
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: