[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [office] Possible clarification in office/v1.2/cos01/part1/6.1.2 aboutwhitespace...
I'd recommend putting such issues directly into JIRA: http://tools.oasis-open.org/issues/secure/CreateIssue!default.jspa That will generate an email to the list and we can discuss, in the context of the issue, via JIRA comments. This ensures that we don't lose track of the issue. Probably want to suggest a change to the specification text that would provide the clarification that you are seeking. Thanks! -Rob monkeyiq <monkeyiq@gmail.com> wrote on 07/20/2011 01:41:55 AM: > > Hi, > I was recently hacking on some ODT import code an was clarifying white > space handling with respect to text:p in the spec. > > Looking at the steps shown in 6.1.2: > > 2) The character data of the paragraph element and of all descendant > elements for which the OpenDocument schema permits the inclusion of > character data for the element itself and all its ancestor elements up > to the paragraph element, is concatenated in document order. > > 4) Sequences of " " (U+0020, SPACE) characters are replaced by a single > " " (U+0020, SPACE) character. > > Consider the following contrived example: > > <text:p>Hi there <text:span>foo </text:span> bar</text:p> > > This would seem to mean that (2) would give > "Hi there foo bar" > and the application of (4) would then make > "Hi there foo bar" > > If so, logically is the space in the text:span to be removed or the one > before the "bar". It seems OpenOffice 3.3.0 removes the second of the > two spaces. That is, if the span containing foo is bold, then the single > remaining space is bold too in an ODT file saved out of OO again. > > I assume this is the desired behaviour? > > > > --------------------------------------------------------------------- > To unsubscribe from this mail list, you must leave the OASIS TC that > generates this mail. Follow this link to all your TCs in OASIS at: > https://www.oasis-open.org/apps/org/workgroup/portal/my_workgroups.php >
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]