[odf-discuss] ODF Validation Service! - Online
Daniel Carrera
daniel.carrera at zmsl.com
Mon Mar 26 08:01:51 EDT 2007
On Mon, 2007-26-03 at 13:52 +0200, Peter Vandenabeele wrote:
> Fix confirmed. "Many eyes make bugs shallow " (even the crazy ones).
:-)
> And actually, this functionality was highly on our priority list
Oh, excellent.
> Do you have any indication of how complete the checks are (like 50% or
> 90% or 99% or 100% of the requirements in the ODF 1.0 specification are
> validated) ?
Let me think about this. The part of the validation that is expressed in
the RelaxNG schema is 100% because all we need to do is run the .rng
through a standard RelaxNG validator. But there may be bits of the spec
that cannot be expressed in the validator, and there are all the SHOULDs
in the spec, which don't make a document invalid but should get a
warning.
For ERRORS I think 95% is a good first guess.
For WARNINGs I think maybe 50% (?).
But warnings is the sort of thing that is never done because you can
always add a warning about something that is nowhere in the spec. For
example, we found that if one of the XML files doesn't end in a new-line
character, OOo can't open the file. This is not invalid XML, it's
actually a bug in OOo, but we added a warning for it.
For errors I can't think of anything we miss, but I'm sure we miss
*something*.
> I assume the code refered to on this page:
>
> http://www.opendocumentfellowship.org/projects/odftools
>
> is the core of the validator ? If so, it might be useful to refer to that code
> from the actual Validator page.
Yes, and it does. :-)
Cheers,
Daniel.
--
int RandomNumber() {
return 4; // Generated by fair dice roll.
// Guaranteed to be random!
}
More information about the odf-discuss
mailing list