Editor Note: Section 17.837.27 <text:variable-input> (text:name)

    • Type: Bug
    • Resolution: Fixed
    • Priority: Blocker
    • ODF 1.2
    • Affects Version/s: ODF 1.3
    • Component/s: None
    • None
    • Hide

      Michael Stahl says: well, for the elements that introduce new entities in the document like <bookmark>, <variable-decl> etc, the use must be unique, while for the elements that reference other elements, like <bookmark-end>, <variable-get>, etc. the use need not be unique; in fact, it cannot be unique because the referenced entity must be declared! maybe it would make sense to use different attributes for these two uses? and we already have <text:ref-name>, which is used for some references... rather inconsistent.

      Show
      Michael Stahl says: well, for the elements that introduce new entities in the document like <bookmark>, <variable-decl> etc, the use must be unique, while for the elements that reference other elements, like <bookmark-end>, <variable-get>, etc. the use need not be unique; in fact, it cannot be unique because the referenced entity must be declared! maybe it would make sense to use different attributes for these two uses? and we already have <text:ref-name>, which is used for some references... rather inconsistent.
    • Hide

      Re-set for ODF-Next.

      Deleted editor's note.

      Show
      Re-set for ODF-Next. Deleted editor's note.

      Transcribed from ODF_Revised_Editorial_Notes_27May2009.odt

      Original author: Patrick Durusau
      Section 17.837.27 <text:variable-input> (text:name)

      Ed. Note The <text:bookmark-> uses of this attribute are apparently not unique, while the use by <text:reference-> is said to be so, at least partially. Note that the unique names for <text:variable-decl>, <text:user-field-decl>, <text:sequence-decl> is belied by later elements being required to have the same names to reference those declarations. To sort this and similar cases out, I suggest that we adopt the convention of using xml:ids always for identification for references and references to those ids can be of the form: text:sequence-ref for example, to make it clear this is reference and not the item we previously identified.

            Assignee:
            Patrick Durusau
            Reporter:
            Robert Weir (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: