W3C home > Mailing lists > Public > www-qa@w3.org > April 2001

Re: [www-qa] After the Workshop, still plenty of options to consider

From: <David_Marston@lotus.com>
Date: Thu, 12 Apr 2001 16:14:51 -0400
To: www-qa@w3.org
Message-ID: <OF6C8EFBF4.441F102C-ON85256A2C.006D58A3@lotus.com>

In starting this thread, I emntioned that a WG could do this:
>4. Beyond a few normative examples, WG aims to have numerous normative
>    cases in the body of the Rec.

Lofton Henderson replied:
>About #4 below, I'm puzzled by "normative examples". In my
>experience, it is common that examples are informative. Else, you have
>a normative description and a normative example of the same
>functionality, and they could be inconsistent.

I'm not too comfortable with #4 myself, but I think that it is at
least worth mentioning that a Recommendation could say "given this
input [example...], a conforming processor must produce this output
[example...]" with the usual verbiage about equivalence of InfoSets
rather than character-wise matching. The WG would only do this if
they thought they could produce 10-50 cases when a total suite would
have many more. Moving up to #5 (having enough cases to call it an
incomplete test suite) is clearly better.

As for the inconsistency issue: I think that Recommendations can be
internally inconsistent even if they have no examples, because there
are other ways in which the same assertion may be made more than once
in a spec. I can show you several such situations in the XSLT spec,
but I think that they're all consistent ones (since the errata came
out, at least). If we've managed to achieve consistency when stating
something in the body text more than once, then I think there is hope
that the same could happen with normative examples.

If someone wishes to develop a documentation style where every
assertion is made absolutely once only, I'd be interested in looking at
it. A spec written that way might need to be supplemented by text that
a human can read sequentially, though the text would be non-normative.
.................David Marston
Received on Thursday, 12 April 2001 16:15:28 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 6 December 2009 12:13:56 GMT