OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

office message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: [OASIS Issue Tracker] Updated: (OFFICE-3516) ODF 1.2 3.18Whitespace treatment lags behind ODF 1.0 Errata 02.



     [ http://tools.oasis-open.org/issues/browse/OFFICE-3516?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dennis Hamilton updated OFFICE-3516:
------------------------------------

      Proposal: 
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:p>, <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.]

  was:
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:p>, <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.]



    Resolution: 
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:p>, <text:h> and their element children.  See 6.1.2.
"""


Put forward the shortest resolution.  See the Proposal statement for additional considerations.

> ODF 1.2 3.18 Whitespace treatment lags behind ODF 1.0 Errata 02.
> ----------------------------------------------------------------
>
>                 Key: OFFICE-3516
>                 URL: http://tools.oasis-open.org/issues/browse/OFFICE-3516
>             Project: OASIS Open Document Format for Office Applications (OpenDocument) TC
>          Issue Type: Sub-task
>    Affects Versions: ODF 1.2 CD 05
>         Environment: This applies between ODF 1.0 Errata 02 and OpenDocument-v1.2-cd05-part1-editor-revision_04.odt
>            Reporter: Dennis Hamilton
>            Assignee: Dennis Hamilton
>             Fix For: ODF 1.2 CD 06
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://tools.oasis-open.org/issues/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]