5.5.4 text:deletion - second item in list: "If the change mark is inside a heading, proceed as above, except adapt the end tags to match their new counterparts." ?

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major
    • ODF 1.2 CD 06
    • Affects Version/s: ODF 1.2 CD 05
    • Component/s: Text
    • None
    • Hide

      Replace:
      "To reconstruct the text before a deletion took place:

      • If the change mark is inside a paragraph, insert the text content of the <text:deletion> element as if the beginning <text> and final </text> tags were missing.
      • If the change mark is inside a heading, proceed as above, except adapt the end tags to match their new counterparts.
      • Otherwise, copy the text content of the <text:deletion> element in place of the change mark."
        by
        "To reconstruct the text before a deletion took place:
      • If the change mark is inside a paragraph, insert the content that was deleted, but remove all leading start tags up to and including the first <text> element and all trailing end tags up to and including the last </text> or </text:h> element. If the last trailing element is a </text:h>, change the end tag </text> following this insertion to a </text:h> element.
      • If the change mark is inside a heading, insert the content that was deleted, but remove all leading start tags up to and including the first <text:h> element and all trailing end tags up to and including the last </text:h> or </text> element. If the last trailing element is a </text>, change the end tag </text:h> following this insertion to a </text> element.
      • Otherwise, copy the text content of the <text:deletion> element in place of the change mark."
      Show
      Replace: "To reconstruct the text before a deletion took place: If the change mark is inside a paragraph, insert the text content of the <text:deletion> element as if the beginning <text > and final </text > tags were missing. If the change mark is inside a heading, proceed as above, except adapt the end tags to match their new counterparts. Otherwise, copy the text content of the <text:deletion> element in place of the change mark." by "To reconstruct the text before a deletion took place: If the change mark is inside a paragraph, insert the content that was deleted, but remove all leading start tags up to and including the first <text > element and all trailing end tags up to and including the last </text > or </text:h> element. If the last trailing element is a </text:h>, change the end tag </text > following this insertion to a </text:h> element. If the change mark is inside a heading, insert the content that was deleted, but remove all leading start tags up to and including the first <text:h> element and all trailing end tags up to and including the last </text:h> or </text > element. If the last trailing element is a </text >, change the end tag </text:h> following this insertion to a </text > element. Otherwise, copy the text content of the <text:deletion> element in place of the change mark."
    • Hide

      resolve as proposed

      Show
      resolve as proposed

      5.5.4 text:deletion - second item in list: "If the change mark is inside a heading, proceed as above, except adapt the end tags to match their new counterparts." ?

      The preceding paragraph says:

      "If the change mark is inside a paragraph, insert the text content of the <text:deletion> element as if the beginning <text> and final </text> tags were missing."

      Does this mean:

      "If the change mark is inside a heading, insert the text content of the <text:deletion> element as if the beginning <text> and final </text> tags were missing."

      ? Since deleted text is save in <text></text>, shouldn't it simply be placed back in the <text:h></text:h> element?

            Assignee:
            Patrick Durusau
            Reporter:
            Patrick Durusau
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: