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

      Consumers shall collapse white space characters that occur in a <text> or <text:h> element (so called paragraph elements), or in any of their descendant elements whose content model allows text content, and whose ancestor elements up to the paragraph element also allow text content.
      Collapsing white space characters is defined by the algorithm:
      1.The following [UNICODE] characters are normalized to a SPACE character:

      • HORIZONTAL TABULATION (0x0009)
      • CARRIAGE RETURN (0x000D)
      • LINE FEED (0x000A)
      • SPACE (0x0020)
        2.The text content of the paragraph element and all descendant elements whose content model allows text content, and whose ancestor elements up to the paragraph element also allow text content, is concatenated in document order.
        3.Leading SPACE characters at the start of the resulting text and trailing SPACE characters at the end of the resulting text are removed.
        4.Sequences of SPACE characters are replaced by a single SPACE character.
        Note: The <text> and <text:h> element and its child elements have specific rules for the handling of white-space characters. 5.1.1
      Show
      Consumers shall collapse white space characters that occur in a <text > or <text:h> element (so called paragraph elements), or in any of their descendant elements whose content model allows text content, and whose ancestor elements up to the paragraph element also allow text content. Collapsing white space characters is defined by the algorithm: 1.The following [UNICODE] characters are normalized to a SPACE character: HORIZONTAL TABULATION (0x0009) CARRIAGE RETURN (0x000D) LINE FEED (0x000A) SPACE (0x0020) 2.The text content of the paragraph element and all descendant elements whose content model allows text content, and whose ancestor elements up to the paragraph element also allow text content, is concatenated in document order. 3.Leading SPACE characters at the start of the resulting text and trailing SPACE characters at the end of the resulting text are removed. 4.Sequences of SPACE characters are replaced by a single SPACE character. Note: The <text > and <text:h> element and its child elements have specific rules for the handling of white-space characters. 5.1.1
    • Hide

      Consumers shall collapse white space characters that occur in a <text> or <text:h> element (so called paragraph elements), or in any of their descendant elements whose content model allows text content, and whose ancestor elements up to the paragraph element also allow text content.
      Collapsing white space characters is defined by the algorithm:
      1.The following [UNICODE] characters are normalized to a SPACE character:

      • HORIZONTAL TABULATION (0x0009)
      • CARRIAGE RETURN (0x000D)
      • LINE FEED (0x000A)
      • SPACE (0x0020)
        2.The text content of the paragraph element and all descendant elements whose content model allows text content, and whose ancestor elements up to the paragraph element also allow text content, is concatenated in document order.
        3.Leading SPACE characters at the start of the resulting text and trailing SPACE characters at the end of the resulting text are removed.
        4.Sequences of SPACE characters are replaced by a single SPACE character.
        Note: The <text> and <text:h> element and its child elements have specific rules for the handling of white-space characters. 5.1.1

      Deleted editor's note.

      Show
      Consumers shall collapse white space characters that occur in a <text > or <text:h> element (so called paragraph elements), or in any of their descendant elements whose content model allows text content, and whose ancestor elements up to the paragraph element also allow text content. Collapsing white space characters is defined by the algorithm: 1.The following [UNICODE] characters are normalized to a SPACE character: HORIZONTAL TABULATION (0x0009) CARRIAGE RETURN (0x000D) LINE FEED (0x000A) SPACE (0x0020) 2.The text content of the paragraph element and all descendant elements whose content model allows text content, and whose ancestor elements up to the paragraph element also allow text content, is concatenated in document order. 3.Leading SPACE characters at the start of the resulting text and trailing SPACE characters at the end of the resulting text are removed. 4.Sequences of SPACE characters are replaced by a single SPACE character. Note: The <text > and <text:h> element and its child elements have specific rules for the handling of white-space characters. 5.1.1 Deleted editor's note.

      Transcribed from ODF_Revised_Editorial_Notes_27May2009.odt

      Original author: Patrick Durusau
      Section 5.1.1 White-space Characters

      Ed. Note: Separate out the parts of this that can be in 1.5 for all documents and what is specific to text elements.

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

              Created:
              Updated:
              Resolved: