W3C home > Mailing lists > Public > public-earl10-comments@w3.org > May 2011

Bug 021: Pointers and Subjects

From: Sean B. Palmer <sean@miscoranda.com>
Date: Wed, 11 May 2011 16:33:18 +0100
Message-ID: <BANLkTimsiqzkZVUbyuDHt0jFpJXcNWVDyA@mail.gmail.com>
To: public-earl10-comments@w3.org
This is feedback on a Last Call Working Draft:

Evaluation and Report Language (EARL) 1.0 Schema
W3C Working Draft 10 May 2011
http://www.w3.org/TR/2011/WD-EARL10-Schema-20110510/

The documentation for § 3.8. pointer Property is:

—
3.8. pointer Property

Pointer - the location within a test subject that are most relevant to
a test result.

Domain:
earl:TestResult
Range:
ptr:Pointer
—

http://www.w3.org/TR/2011/WD-EARL10-Schema-20110510/#pointer

It's strange that the “location within a test subject” which is most
relevant should then be attached to a test result. Surely this should
be attached to the test subject?

The words “relevant to a test result” cover the mistake. That a bit of
a test subject is most relevant to a test result is just like saying
that the mode of the test is relevant to a test result, or that the
test case is relevant to the test result.

In fact, if you used an earl:TestRequirement in your assertion, you
could start saying that some of the test cases within that compound
test requirement are more important than others—perhaps some check
that critical errors don't occur and others are just ancillary. Then
why shouldn't those test cases be considered "most relevant to a test
result" too?

So change the domain of earl:TestResult to be a restriction on
earl:TestSubject to values from ptr:Pointer, using a restriction in
keeping with the techniques discussed in Bug 009.

-- 
Sean B. Palmer, http://inamidst.com/sbp/
Received on Wednesday, 11 May 2011 15:33:47 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 11 May 2011 15:33:47 GMT