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] Commented: (OFFICE-2207) Whitespaceprocessing [N 1309]

    [ http://tools.oasis-open.org/issues/browse/OFFICE-2207?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=19469#action_19469 ] 

Dennis Hamilton commented on OFFICE-2207:

Let's try something else.

Because the only XML document model we rely on is that of Relax NG, and we do not depend on there being a validating XL processor, we need to state this condition in terms that fit the ODF schema and that do not depend on anything of XML 1.0 related to DTDs and validating processors.

Proposed Errata that removes the objection concerning how we repeat [XML 1.0] content and misattfribute some provisions to [XML 1.0] that are not made there.

Replace section 1.6 with the following

 = = = = = = = = =
1.6 White-Space Processing

An ODF processor shall ignore all element children ([RNG] section 5, Data Model) that are strings consisting entirely of whitespace characters and that do not satisfy a text pattern of the ODF schema definition for the

The whitespace characters are the following [XML 1.0] Unicode characters:


 * LINE FEED (#xA)


 * SPACE (#x20)

For all other occurrences of whitespace characters, treatment is in conformance with the provisions of [XML 1.0].   Any additional provisions to those of [XML 1.0] are included in the specifications of the elements where such provisions apply.  See, for example, section 5.1.1.

> Whitespace processing [N 1309]
> ------------------------------
>                 Key: OFFICE-2207
>                 URL: http://tools.oasis-open.org/issues/browse/OFFICE-2207
>             Project: OASIS Open Document Format for Office Applications (OpenDocument) TC
>          Issue Type: Bug
>          Components: General
>    Affects Versions: ODF 1.0, ODF 1.0 (second edition)
>            Reporter: Robert Weir 
>            Assignee: Svante Schubert 
>             Fix For: ODF 1.0 Errata CD 5
> 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:p><text:span>Hello</text:span> <text:span>world</text:span></text:p>. 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.

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]