[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [office] Empty Cell by @office:value-type
Hi,
yes, agreeThe first cell is easy a cell with string content and string type. Clearly not empty andÂFALSEÂas the result of isBlank()!
as I mentioned in an email, ODF specifically states that cells containing the empty string are not empty. So the correct answer here is FALSE. (Which is also what you said in the file proper).)The second cell has an empty string. String type with empty paragraph. This case is explicitly mentioned in part 2 and the result of isBlank() should beÂTRUE!
yes agreeThe third cell is a completely empty cell without descendant nodes. It can not be more blank.ÂTRUEÂshould be the result of isBlank()!
First of all, this should really never exist. ODF is currently mute on what the value of this cell is. According to my reading, in the absence of the value type it is not defined what the value of the cell is. Since the value type is not given in this case, I am really do not know whether "the value type is not string" is true or false. It really cannot be true since we do not have a "corresponding value attribute".The fourth cell has an empty paragraph but no data type attribute.ÂÂTRUEÂshould be the result of isBlank()!
same as the previous one.The fifth cell has a paragraphÂwith text content but no data type attribute.ÂTRUEÂshould be the result of isBlank()!Â
The sixth cell has a paragraphÂwith text content but an invalid data type attribute.ÂTRUEÂshould be the result of isBlank()!
This is not valid ODF. So anything is possible.
There is also a seventh cell, but again that is not valid ODF.
Andreas
|
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]