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

style:data-style-name, "must match the name of a data style."

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Applied
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: ODF 1.2
    • Fix Version/s: ODF 1.2
    • Component/s: Styles
    • Labels:
      None
    • Proposal:
      Hide

      See comments.

      Show
      See comments.
    • Resolution:
      Hide

      See comments.

      Show
      See comments.

      Description

      The value of a style:data-style-name attribute is required to match the name of a data style.

      We don't say what happens if it doesn't match the name of a data style.

      Moreover, we don't have a similar "must" condition for other instances of attributes with styleNameRef values.

      Shouldn't we:

      1) Make it mandatory that all attribute values of type styleNameRef match a style of the appropriate type, and

      2) Define what happens if an attribute with a value of type styleNameRef fails to match an existing style of the appropriate type?

      Being mindful that the question of when the style must exist is an issue. In other words the creation of the reference may come immediately before the creation of the style. Is that OK?

        Attachments

          Activity

            People

            • Assignee:
              patrick Patrick Durusau
              Reporter:
              patrick Patrick Durusau
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: