Re: kofficetests validation

Cyrille Berger Skott <[email protected]>
Newsgroups gmane.comp.kde.devel.koffice
Message-ID <[email protected]>
On Tuesday 09 November 2010, Jos van den Oever wrote:
> To be clear, Chanis mail was not about the fact that koffice saves files as
> invalid ODF in about 5% of the cases.
Ok.

> The question was, what to do about
> the fact that many of the files in kofficetests seem to be invalid ODF. Do
> we want to fix them? Chani is currently roundtripping files with ODFKit
> from zip to flat back to zip and checking that the files do not lose
> information or become invalid. Since many are invalid to begin with the
> size of the useful pool of documents is smaller than it could be.
I am not sure if I follow you here... Why is loading an invalid document a 
problem ? (or testing loading such a document) Unless you are interested in a 
set of documents where you could check "load document_A; save document_B; test 
document_A == document_B" ?

But then we could just have two categories, valid document, invalid. I am just 
saying that because, my understanding is that kofficetests countains many 
"real world" document. If it is documents crafted to test a specific 
bug/feature, then making the document valid might be a good thing (unless you 
are interested in a bug that appears with invalid document), but transforming 
a "real world" document to be valid seems wrong to me.

-- 
Cyrille Berger Skott
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.