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

 


Help: OASIS Mailing Lists Help | MarkMail Help

office-formula message

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


Subject: Re: [office-formula] Whitespace fixups


I said:
> > I omitted the text afterwards, but what it said was that applications
> > SHOULD retain the whitespace characters.  My thought is that
> > if an application intends to write a line break, then it should write \n.
> > But once it writes whatever whitespace it writes, other apps should
> > retain it.

Eike Rathke:
> Which isn't always possible due to implementation details. For example,
> Calc normally preserves spaces (no other whitespace characters yet) in
> formulas, but for array constants they are only parsed away, internally
> the array is stored as one matrix token and information about
> interspersed whitespace characters is discarded. Due to internal
> structures and memory considerations it is not intended to change that.
> 
> Implementations on hand-held devices may also prefer to not preserve
> whitespace at all for similar reasons.

Completely agreed, but I anticipated that by using the word "should".
Does that cover it?  Or would it be better to add that
"applications MAY remove or change whitespace outside of single or double quotes"?

--- David A. Wheeler


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