Details

    • Type: Sub-task
    • Status: Applied
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: ODF 1.2 CD 05
    • Fix Version/s: ODF 1.2 CD 06
    • Component/s: None
    • Labels:
      None
    • Environment:

      This applies between ODF 1.0 Errata 02 and OpenDocument-v1.2-cd05-part1-editor-revision_04.odt

    • Proposal:
      Hide

      In Part 1 section 3.18

      1. Change the title to "3.18 White Space Processing"

      It is not necessary to define what the white-space characters are here. Replace the first two paragraphs (everything preceding the Note) with

      """
      ODF processing of whitespace characters is in conformance with the provisions of [XML 1.0].

      In addition, OpenDocument Consumers shall ignore all element children ([RNG] section 5, Data Model) of elements defined in this specification that are strings consisting entirely of whitespace characters and which do not satisfy a pattern of the OpenDocument schema definititon for the element.

      Additional treatment of occurrences of whitespace characters depends on the provisions for specific elements, attributes, and their datatypes in this specification.
      """

      [Ed.Note1 If it is important to include the list, it can be before the last parapgraph above. The introductory sentence should be "The white space characters are [XML1.0]:" There is no reason to mention EOL in the text, since it has notihing to do with this provision and is not raised in [XML1.0].].

      Replace the Note with the following text:

      """
      Note: There are special OpenDocument rules for the reduction of whitespace sequences to single space characters in the text obtained from <text>, <text:h> and their element children. See 6.1.2.
      """

      [Ed.Note 2: It might be preferable to say "... the character data obtained from ..." to be more consistent with 6.1.2 but I am not certain of that. --dh.]

      [Ed Note 3: This does not reflect the impact of foreign elements, where we don't know if they have character-string children or not.]

      Show
      In Part 1 section 3.18 1. Change the title to "3.18 White Space Processing" It is not necessary to define what the white-space characters are here. Replace the first two paragraphs (everything preceding the Note) with """ ODF processing of whitespace characters is in conformance with the provisions of [XML 1.0] . In addition, OpenDocument Consumers shall ignore all element children ( [RNG] section 5, Data Model) of elements defined in this specification that are strings consisting entirely of whitespace characters and which do not satisfy a pattern of the OpenDocument schema definititon for the element. Additional treatment of occurrences of whitespace characters depends on the provisions for specific elements, attributes, and their datatypes in this specification. """ [Ed.Note1 If it is important to include the list, it can be before the last parapgraph above. The introductory sentence should be "The white space characters are [XML1.0] :" There is no reason to mention EOL in the text, since it has notihing to do with this provision and is not raised in [XML1.0] .]. Replace the Note with the following text: """ Note: There are special OpenDocument rules for the reduction of whitespace sequences to single space characters in the text obtained from <text >, <text:h> and their element children. See 6.1.2. """ [Ed.Note 2: It might be preferable to say "... the character data obtained from ..." to be more consistent with 6.1.2 but I am not certain of that. --dh.] [Ed Note 3: This does not reflect the impact of foreign elements, where we don't know if they have character-string children or not.]
    • Resolution:
      Hide

      Replace Part 1 Section 3.18 as follows:

      """
      3.18 White Space Processing

      ODF processing of whitespace characters is in conformance with the provisions of [XML1.0].

      In addition, OpenDocument Consumers shall ignore all element children ([RNG] section 5, Data Model) of elements defined in this specification that are strings consisting entirely of whitespace characters and which do not satisfy a pattern of the OpenDocument schema definititon for the element.

      Additional treatment of occurrences of whitespace characters depends on the provisions for specific elements, attributes, and their datatypes in this specification.

      Note: There are special OpenDocument rules for the reduction of whitespace sequences to single space characters in the text obtained from <text>, <text:h> and their element children. See 6.1.2.
      """

      Show
      Replace Part 1 Section 3.18 as follows: """ 3.18 White Space Processing ODF processing of whitespace characters is in conformance with the provisions of [XML1.0] . In addition, OpenDocument Consumers shall ignore all element children ( [RNG] section 5, Data Model) of elements defined in this specification that are strings consisting entirely of whitespace characters and which do not satisfy a pattern of the OpenDocument schema definititon for the element. Additional treatment of occurrences of whitespace characters depends on the provisions for specific elements, attributes, and their datatypes in this specification. Note: There are special OpenDocument rules for the reduction of whitespace sequences to single space characters in the text obtained from <text >, <text:h> and their element children. See 6.1.2. """

      Description

      The problem of element-children and whitespace elimination in [XML1.0] that applies only if there is DTD validation was solved in ODF 1.0 Errata 02 by relying on the RNG data model which applies for ODF.

        Attachments

          Activity

            People

            • Assignee:
              patrick Patrick Durusau
              Reporter:
              orcmid Dennis Hamilton (Inactive)
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: