Details

    • Type: Bug
    • Status: Applied
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: ODF 1.0, ODF 1.0 (second edition)
    • Fix Version/s: ODF 1.0 Errata CD 5
    • Component/s: General
    • Labels:
      None
    • Proposal:
      Hide

      Adopt resolution of OFFICE/1243/OFFICE-1211

      Show
      Adopt resolution of OFFICE/1243/ OFFICE-1211
    • Resolution:
      Hide

      Replace the entire section and title with the following:
      "1.6 White-Space Processing

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

      In addition, ODF processors shall ignore all element children ([RNG] section 5, Data Model) of ODF-defined elements that are strings consisting entirely of whitespace characters and which do not satisfy a pattern of the ODF schema definition for the element.

      Any special treatment of additional occurrences of whitespace characters depends on the specific definitions of individual ODF elements, attributes, and their datatypes. See, in particular, section 5.1.1."

      Show
      Replace the entire section and title with the following: "1.6 White-Space Processing ODF processing of whitespace characters is in conformance with the provisions of [XML 1.0] . In addition, ODF processors shall ignore all element children ( [RNG] section 5, Data Model) of ODF-defined elements that are strings consisting entirely of whitespace characters and which do not satisfy a pattern of the ODF schema definition for the element. Any special treatment of additional occurrences of whitespace characters depends on the specific definitions of individual ODF elements, attributes, and their datatypes. See, in particular, section 5.1.1."

      Description

      Submitter ID
      GB-26300-34
      Nature of defect
      Technical
      Document
      ISO/IEC 26300:2006
      Clause
      1.6
      Page
      34
      Description of issue

      It is stated that "In conformance with the W3C XML specification [XML1.0], optional white-space characters that are contained in elements that have element content (in other words that must contain elements only but not text) are ignored".

      • It is not clear what "optional white-space characters" are (the term is not defined in XML 1.0), or how the described behaviour conforms to XML 1.0.
      • Does the phrase "elements that have element content" mean elements that have only element content? This cannot make sense, as whitespace is itself text content.
      • Consider the markup <text><text:span>Hello</text:span> <text:span>world</text:span></text>. If processed according to the text above, the space between the words here would be ignored, yet no known ODF processor actually respects this provision.

      Proposal

      Reform the text to answer the above queries and modify the stated processing behaviour to accord with the existing corpus of documents and processors.

        Attachments

        There are no Sub-Tasks for this issue.

          Activity

            People

            • Assignee:
              svante.schubert Svante Schubert
              Reporter:
              rcweir Robert Weir (Inactive)
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: