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

rng:ref to common-ref-format-values fails in flatten schema script

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Applied
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: ODF 1.4
    • Component/s: None
    • Labels:
      None
    • Environment:

      schema

    • Proposal:
      Hide

      Delete:

      "<rng:define name="common-ref-format-values">
      <rng:choice>
      <rng:value>page</rng:value>
      <rng:value>chapter</rng:value>
      <rng:value>direction</rng:value>
      <rng:value>text</rng:value>
      </rng:choice>
      </rng:define>"

      And expand the three refs to that definition to the full value list.

       

       

      Show
      Delete: "<rng:define name="common-ref-format-values"> <rng:choice> <rng:value>page</rng:value> <rng:value>chapter</rng:value> <rng:value>direction</rng:value> <rng:value>text</rng:value> </rng:choice> </rng:define>" And expand the three refs to that definition to the full value list.    
    • Resolution:
      Hide

      As Proposal: delete common-ref-format-values from schema and expand references in all three occurrences of attribute text:reference-format.

      Show
      As Proposal: delete common-ref-format-values from schema and expand references in all three occurrences of attribute text:reference-format .

      Description

      rng:ref to common-ref-format-values fails in the flatten schema script because the script expects to find names only, not sets of values. While correction of the script is possible, the ref only occurs three times in the schema, text-bookmark-ref-content (with other values), text-note-ref-content (only the ref values), and, text-sequence-ref-content (with other values).

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: